mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
Fix crash when closing session, recursive mon-section removal
This commit is contained in:
parent
d314a510f6
commit
41827a546a
1 changed files with 4 additions and 0 deletions
|
|
@ -821,6 +821,10 @@ ARDOUR_UI::update_title ()
|
|||
void
|
||||
ARDOUR_UI::toggle_use_monitor_section ()
|
||||
{
|
||||
if (!_session) {
|
||||
return;
|
||||
}
|
||||
|
||||
RefPtr<Action> act = ActionManager::get_action (X_("Monitor"), "UseMonitorSection");
|
||||
assert (act); RefPtr<ToggleAction> tact = Glib::RefPtr<ToggleAction>::cast_dynamic (act);
|
||||
assert (tact);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue