Fix for widget visibility with detached preferences window
authorTim Mayberry <mojofunk@gmail.com>
Sat, 19 Nov 2016 03:51:32 +0000 (13:51 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Sat, 19 Nov 2016 04:19:11 +0000 (14:19 +1000)
Should finally resolve bug #7002

The reason 95e3f766 didn't resolve this is because OptionEditorContainer ctor
is called before adding all the widgets in RCOptionEditor so they will still be
hidden.

gtk2_ardour/rc_option_editor.cc

index 0b017926fc18de5c0c93a217cfa440089a53c936..3569d939cc72580f83ca4b4498e2f8ae18423699 100644 (file)
@@ -3671,6 +3671,8 @@ if (!ARDOUR::Profile->get_mixbus()) {
 
        add_option (_("Theme/Colors"), new ColorThemeManager);
 
+       Widget::show_all ();
+
        //trigger some parameter-changed messages which affect widget-visibility or -sensitivity
        parameter_changed ("send-ltc");
        parameter_changed ("sync-source");