summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui2.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-07-22 21:14:08 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-02-22 15:31:22 -0500
commit291575683cb87713cc7a5856a96c5fdd69b9a52c (patch)
treec7a270f828a47acbd81b68d280da64f92f545e71 /gtk2_ardour/ardour_ui2.cc
parent1c41f75488ba654a22bf63237edc3a8c2dfca0e5 (diff)
dynamically update menus/actions controlling tabbable show/hide/attach/detach operations
Diffstat (limited to 'gtk2_ardour/ardour_ui2.cc')
-rw-r--r--gtk2_ardour/ardour_ui2.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc
index c895262cb6..db0f28a566 100644
--- a/gtk2_ardour/ardour_ui2.cc
+++ b/gtk2_ardour/ardour_ui2.cc
@@ -100,6 +100,7 @@ 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));
/* all other dialogs are created conditionally */