projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
38bccab
)
MCP: Fix up the feedback for the view selection buttons.
author
Albert Graef
<aggraef@gmail.com>
Mon, 24 Sep 2018 12:30:27 +0000
(14:30 +0200)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 27 Sep 2018 15:31:13 +0000
(11:31 -0400)
libs/surfaces/mackie/surface.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/mackie/surface.cc
b/libs/surfaces/mackie/surface.cc
index c9880f9bc94029ea84570a3e5381ff47fa736654..5a089a0dd9ff84d32aae299cb3d65306871fb2be 100755
(executable)
--- a/
libs/surfaces/mackie/surface.cc
+++ b/
libs/surfaces/mackie/surface.cc
@@
-1176,7
+1176,7
@@
Surface::update_view_mode_display (bool with_helpful_text)
if (id >= 0) {
for (vector<int>::iterator i = view_mode_buttons.begin(); i != view_mode_buttons.end(); ++i) {
if (id >= 0) {
for (vector<int>::iterator i = view_mode_buttons.begin(); i != view_mode_buttons.end(); ++i) {
- map<int,Control*>::iterator x = controls_by_device_independent_id.find (
id
);
+ map<int,Control*>::iterator x = controls_by_device_independent_id.find (
*i
);
if (x != controls_by_device_independent_id.end()) {
Button* button = dynamic_cast<Button*> (x->second);
if (x != controls_by_device_independent_id.end()) {
Button* button = dynamic_cast<Button*> (x->second);