}
} catch (const std::exception& e) {
- // this should never happen as it leaks memory and leaves connections established
- assert(false);
error << string_compose (_("Error adding GUI elements for new tracks/busses %1"), e.what()) << endmsg;
}
set_tooltip (&toggle_processorbox_button, _("Allow one to add monitor effect processors"));
proctoggle = ActionManager::get_action (X_("Monitor"), X_("toggle-monitor-processor-box"));
- assert(proctoggle);
toggle_processorbox_button.set_related_action (proctoggle);
/* Knobs */
myactions.register_radio_action (solo_actions, solo_group, "solo-use-pfl", _("Pre Fade Listen (PFL) solo"),
sigc::mem_fun (*this, &MonitorSection::solo_use_pfl));
- proctoggle = myactions.register_toggle_action (monitor_actions, "toggle-monitor-processor-box", _("Toggle Monitor Section Processor Box"),
+ myactions.register_toggle_action (monitor_actions, "toggle-monitor-processor-box", _("Toggle Monitor Section Processor Box"),
sigc::mem_fun(*this, &MonitorSection::update_processor_box));
}