Fix show/hide of group tabs on session load (#3790).
authorCarl Hetherington <carl@carlh.net>
Tue, 22 Feb 2011 00:11:32 +0000 (00:11 +0000)
committerCarl Hetherington <carl@carlh.net>
Tue, 22 Feb 2011 00:11:32 +0000 (00:11 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8920 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/editor.cc
gtk2_ardour/mixer_ui.cc

index 963070aa650d32e55311bb993f424f8ab4cb8c5f..2175ed7bce682cb2264d205f7ecd62baba499281 100644 (file)
@@ -821,11 +821,11 @@ Editor::show_window ()
                   be nicer if we could just call show () above rather
                   than needing the show_all ()
                */
-               
+
                /* re-hide stuff if necessary */
                editor_list_button_toggled ();
                parameter_changed ("show-summary");
-               parameter_changed ("show-edit-group-tabs");
+               parameter_changed ("show-group-tabs");
                parameter_changed ("show-zoom-tools");
 
                /* now reset all audio_time_axis heights, because widgets might need
index 264b975735188679cf617e40f2e8f3f0ed564d99..dc3aced9787d52bd0779f86ce34c97318a3e88bf 100644 (file)
@@ -250,6 +250,9 @@ Mixer_UI::show_window ()
        if (!_visible) {
                set_window_pos_and_size ();
 
+               /* show/hide group tabs as required */
+               parameter_changed ("show-group-tabs");
+
                /* now reset each strips width so the right widgets are shown */
                MixerStrip* ms;