Temporarily fix segfault on show/hide all automation, pending a proper fix.
git-svn-id: svn://localhost/ardour2/branches/3.0@6501 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c22c3fc31e
commit
0c04eb8d83
@ -1679,8 +1679,10 @@ RouteTimeAxisView::show_all_automation ()
|
|||||||
i->second->track->set_marked_for_display (true);
|
i->second->track->set_marked_for_display (true);
|
||||||
i->second->track->canvas_display()->show();
|
i->second->track->canvas_display()->show();
|
||||||
i->second->track->get_state_node()->add_property ("shown", X_("yes"));
|
i->second->track->get_state_node()->add_property ("shown", X_("yes"));
|
||||||
|
if (i->second->menu_item) {
|
||||||
i->second->menu_item->set_active(true);
|
i->second->menu_item->set_active(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Show processor automation */
|
/* Show processor automation */
|
||||||
@ -1746,8 +1748,10 @@ RouteTimeAxisView::hide_all_automation ()
|
|||||||
i->second->track->set_marked_for_display (false);
|
i->second->track->set_marked_for_display (false);
|
||||||
i->second->track->hide ();
|
i->second->track->hide ();
|
||||||
i->second->track->get_state_node()->add_property ("shown", X_("no"));
|
i->second->track->get_state_node()->add_property ("shown", X_("no"));
|
||||||
|
if (i->second->menu_item) {
|
||||||
i->second->menu_item->set_active (false);
|
i->second->menu_item->set_active (false);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Hide processor automation */
|
/* Hide processor automation */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user