Prevent mixer-add buttons from getting focus.

This commit is contained in:
Ben Loftis 2018-02-19 08:15:18 -06:00
parent 1a293bb480
commit b44b8b7111

View file

@ -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 */