projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2367240
)
Mackie Control: Save old bank before we change it to new.
author
Len Ovens
<len@ovenwerks.net>
Wed, 3 Feb 2016 02:41:49 +0000
(18:41 -0800)
committer
Len Ovens
<len@ovenwerks.net>
Wed, 3 Feb 2016 02:41:49 +0000
(18:41 -0800)
libs/surfaces/mackie/mackie_control_protocol.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/mackie/mackie_control_protocol.cc
b/libs/surfaces/mackie/mackie_control_protocol.cc
index d6a07ba64367a3b6a00d2bff9a934e7be869e4b6..3ad6c8f1b13f1e2ef549fdf4e8cbc6be54b4c6dc 100644
(file)
--- a/
libs/surfaces/mackie/mackie_control_protocol.cc
+++ b/
libs/surfaces/mackie/mackie_control_protocol.cc
@@
-1833,13
+1833,13
@@
MackieControlProtocol::set_view_mode (ViewMode m)
ViewMode old_view_mode = _view_mode;
_view_mode = m;
+ _last_bank[old_view_mode] = _current_initial_bank;
if (switch_banks(_last_bank[m], true)) {
_view_mode = old_view_mode;
return;
}
- _last_bank[old_view_mode] = _current_initial_bank;
/* leave subview mode, whatever it was */
set_subview_mode (None, boost::shared_ptr<Route>());
display_view_mode ();