summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_ui.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-08-30 22:56:07 +0200
committerRobin Gareus <robin@gareus.org>2019-08-30 22:57:57 +0200
commit244df678005f6415b4fd0aa219396759927f7e3e (patch)
tree7fdae79d2537ad881ba4ffa34e09a0c23256d521 /gtk2_ardour/mixer_ui.cc
parentf44a436f7089bd2413e3756007d386b5568cf3da (diff)
Fix mixer-side-bar show/hide actions
Changes need to be propagated to the Stripable's PresentationInfo. So far this was not done for batch-changes using the mixer's left side-bar "Show all", "Hide all" actions. They remained local to the mixer and were not persistent.
Diffstat (limited to 'gtk2_ardour/mixer_ui.cc')
-rw-r--r--gtk2_ardour/mixer_ui.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc
index 5a1690cacd..de59ef2a68 100644
--- a/gtk2_ardour/mixer_ui.cc
+++ b/gtk2_ardour/mixer_ui.cc
@@ -1204,9 +1204,7 @@ Mixer_UI::update_track_visibility ()
(*i)[stripable_columns.visible] = av->marked_for_display ();
}
- /* force presentation catch up with visibility changes
- */
-
+ /* force presentation to catch up with visibility changes */
sync_presentation_info_from_treeview ();
}
@@ -1299,12 +1297,14 @@ Mixer_UI::set_all_strips_visibility (bool yn)
(*i)[stripable_columns.visible] = yn;
}
+
+ /* force presentation to catch up with visibility changes */
+ sync_presentation_info_from_treeview ();
}
redisplay_track_list ();
}
-
void
Mixer_UI::set_all_audio_midi_visibility (int tracks, bool yn)
{
@@ -1354,6 +1354,9 @@ Mixer_UI::set_all_audio_midi_visibility (int tracks, bool yn)
break;
}
}
+
+ /* force presentation to catch up with visibility changes */
+ sync_presentation_info_from_treeview ();
}
redisplay_track_list ();