hopefully get dynamic tabbable menu state right this time
[ardour.git] / gtk2_ardour / ardour_ui2.cc
index db0f28a5669ef3b7333375653cd20a3c725db00f..059bcb88c8e47fccb0a08eec28e08671776e1b60 100644 (file)
@@ -98,9 +98,8 @@ ARDOUR_UI::setup_windows ()
        }
 
        rc_option_editor = new RCOptionEditor;
-       rc_option_editor->add_to_notebook (_tabs, _("Preferences"));
-       rc_option_editor->contents().show_all ();
        rc_option_editor->StateChange.connect (sigc::mem_fun (*this, &ARDOUR_UI::tabbable_state_change));
+       rc_option_editor->add_to_notebook (_tabs, _("Preferences"));
        
        /* all other dialogs are created conditionally */
 
@@ -858,4 +857,5 @@ ARDOUR_UI::update_title ()
                WindowTitle title (Glib::get_application_name());
                _main_window.set_title (title.get_string());
        }
+
 }