assert(_view);
const int y = _v_offset - _view->v_offset();
-
+
const double scale = _view->scale();
assert(scale > 0);
-
+
const double offset = _view->offset();
if (!_channel->enabled())
{
Glib::VariantContainerBase gvar;
vector<int32_t> trig_types;
- bool is_checked;
Signal::populate_popup_form(parent, form);
for (auto type_id : trig_types) {
auto type = TriggerMatchType::get(type_id);
_trigger_bar->addAction(match_action(type));
- is_checked = _trigger_match == type;
- match_action(type)->setChecked(is_checked);
+ match_action(type)->setChecked(_trigger_match == type);
}
form->addRow(tr("Trigger"), _trigger_bar);