mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +01:00
Prevent mixer-add buttons from getting focus.
This commit is contained in:
parent
1a293bb480
commit
b44b8b7111
1 changed files with 2 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue