13
0

Fix hiding of incactive tracks

See ed105fdf66
for detailed explanation.
This commit is contained in:
Robin Gareus 2024-09-05 20:16:55 +02:00
parent 267cddfb05
commit 4692227168
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -886,7 +886,7 @@ RouteTimeAxisView::build_display_menu ()
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)));
items.push_back (MenuElem (_("Hide"), sigc::bind (sigc::mem_fun(_editor, &PublicEditor::hide_track_in_display), this, !_editor.get_selection().tracks.empty ())));
if (_route && !_route->is_singleton ()) {
items.push_back (SeparatorElem());