mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
make solo lock/safe button only respond to mouse button1 (#4691)
git-svn-id: svn://localhost/ardour2/branches/3.0@12354 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d52012f398
commit
ca993f56d6
1 changed files with 6 additions and 3 deletions
|
|
@ -1287,10 +1287,13 @@ RouteUI::solo_isolate_button_release (GdkEventButton* ev)
|
|||
}
|
||||
|
||||
bool
|
||||
RouteUI::solo_safe_button_release (GdkEventButton*)
|
||||
RouteUI::solo_safe_button_release (GdkEventButton* ev)
|
||||
{
|
||||
_route->set_solo_safe (!solo_safe_led->active_state(), this);
|
||||
return true;
|
||||
if (ev->button == 1) {
|
||||
_route->set_solo_safe (!solo_safe_led->active_state(), this);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue