Prevent mixer-add buttons from getting focus.
authorBen Loftis <ben@harrisonconsoles.com>
Mon, 19 Feb 2018 14:15:18 +0000 (08:15 -0600)
committerBen Loftis <ben@harrisonconsoles.com>
Mon, 19 Feb 2018 14:15:18 +0000 (08:15 -0600)
gtk2_ardour/mixer_ui.cc

index 3b0436d31b391e8519bc989c6e86d46f7ed75e32..4880865c866ba3d665b7d9527bcbc79908d46cde 100644 (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 */