diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-19 08:15:18 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-19 08:15:18 -0600 |
commit | b44b8b7111d4dfb9ea60761b727433f25a362925 (patch) | |
tree | 3e1ff5aba2e0eddbbbf6f627d2d556986f412762 /gtk2_ardour | |
parent | 1a293bb480a3019f5ee0e4e3608a540727b82c9e (diff) |
Prevent mixer-add buttons from getting focus.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/mixer_ui.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc index 3b0436d31b..4880865c86 100644 --- a/gtk2_ardour/mixer_ui.cc +++ b/gtk2_ardour/mixer_ui.cc @@ -139,12 +139,14 @@ Mixer_UI::Mixer_UI () Widget* w = manage (new Image (Stock::ADD, ICON_SIZE_BUTTON)); w->show (); add_vca_button.add (*w); + add_vca_button.set_can_focus(false); add_vca_button.signal_clicked().connect (sigc::mem_fun (*this, &Mixer_UI::new_track_or_bus)); /* create a button to add mixer strips */ w = manage (new Image (Stock::ADD, ICON_SIZE_BUTTON)); w->show (); add_button.add (*w); + add_button.set_can_focus(false); add_button.signal_clicked().connect (sigc::mem_fun (*this, &Mixer_UI::new_track_or_bus)); /* add as last item of strip packer */ |