projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d52012f
)
make solo lock/safe button only respond to mouse button1 (#4691)
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 21 May 2012 10:10:26 +0000
(10:10 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 21 May 2012 10:10:26 +0000
(10:10 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@12354
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/route_ui.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/route_ui.cc
b/gtk2_ardour/route_ui.cc
index 64ba5b067d85da04f0994ed35b2c854beec3ae11..bd8d39096289a0631d342e5690d130e780aa5d70 100644
(file)
--- a/
gtk2_ardour/route_ui.cc
+++ b/
gtk2_ardour/route_ui.cc
@@
-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