projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a95d79
)
MCP fix issue 7219 get GUI to show main surface for right port
author
Len Ovens
<len@ovenwerks.net>
Sat, 28 Jan 2017 05:44:40 +0000
(21:44 -0800)
committer
Len Ovens
<len@ovenwerks.net>
Sat, 28 Jan 2017 05:44:40 +0000
(21:44 -0800)
libs/surfaces/mackie/gui.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/mackie/gui.cc
b/libs/surfaces/mackie/gui.cc
index 06786197e2b0be6a000a03f801326de4c4a37f24..b05a29fc95c45398168693387da6c76da65a9ebf 100644
(file)
--- a/
libs/surfaces/mackie/gui.cc
+++ b/
libs/surfaces/mackie/gui.cc
@@
-333,6
+333,7
@@
MackieControlProtocolGUI::device_dependent_widget ()
int row = 0;
uint32_t n_surfaces = 1 + _cp.device_info().extenders();
+ uint32_t main_pos = _cp.device_info().master_position();
if (!_cp.device_info().uses_ipmidi()) {
dd_table = Gtk::manage (new Gtk::Table (n_surfaces, 2));
@@
-387,7
+388,7
@@
MackieControlProtocolGUI::device_dependent_widget ()
string receive_string;
if (n_surfaces > 1) {
- if (n ==
0
) {
+ if (n ==
main_pos
) {
send_string = _("Main surface sends via:");
receive_string = _("Main surface receives via:");
} else {