Allow to reactivate disable tracks in the editor
Disabled tracks cannot be selected, so "apply to selection" does not work to reactivate track... unless it has just been deactivated. The Selection is not cleared when changing active state.
This commit is contained in:
@@ -883,7 +883,7 @@ RouteTimeAxisView::build_display_menu ()
|
||||
i->set_inconsistent (true);
|
||||
}
|
||||
i->set_sensitive(! _session->transport_rolling() && ! always_active);
|
||||
i->signal_activate().connect (sigc::bind (sigc::mem_fun (*this, &RouteUI::set_route_active), click_sets_active, true));
|
||||
i->signal_activate().connect (sigc::bind (sigc::mem_fun (*this, &RouteUI::set_route_active), click_sets_active, !_editor.get_selection().tracks.empty ()));
|
||||
|
||||
items.push_back (SeparatorElem());
|
||||
items.push_back (MenuElem (_("Hide"), sigc::bind (sigc::mem_fun(_editor, &PublicEditor::hide_track_in_display), this, true)));
|
||||
|
||||
Reference in New Issue
Block a user