diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-11-18 23:45:48 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-22 15:31:25 -0500 |
commit | 336d321a1b4354e9fcaf46c17c4560c863c58dde (patch) | |
tree | 9c7b6e2f3291b2a05ea1eb923b0e35838ecf2351 /gtk2_ardour/ardour_ui_dependents.cc | |
parent | 8a499cf57c3f574fd0be3fbdc2474caca1ae0003 (diff) |
prevent dragging the last tab from the notebook
Diffstat (limited to 'gtk2_ardour/ardour_ui_dependents.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_dependents.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_dependents.cc b/gtk2_ardour/ardour_ui_dependents.cc index 90e2fd8428..5f75144c15 100644 --- a/gtk2_ardour/ardour_ui_dependents.cc +++ b/gtk2_ardour/ardour_ui_dependents.cc @@ -234,6 +234,8 @@ ARDOUR_UI::setup_windows () keyboard->setup_keybindings (); _tabs.signal_switch_page().connect (sigc::mem_fun (*this, &ARDOUR_UI::tabs_switch)); + _tabs.signal_page_added().connect (sigc::mem_fun (*this, &ARDOUR_UI::tabs_page_added)); + _tabs.signal_page_removed().connect (sigc::mem_fun (*this, &ARDOUR_UI::tabs_page_removed)); rc_option_editor = new RCOptionEditor; rc_option_editor->StateChange.connect (sigc::mem_fun (*this, &ARDOUR_UI::tabbable_state_change)); |