summaryrefslogtreecommitdiff
path: root/libs/surfaces/osc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-07-04 12:45:29 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-07-04 12:45:53 -0400
commit291aec468fe4646aa1e355f2503d349555019e54 (patch)
treecd7115a89b7657bd714fe51f8693237a88044c43 /libs/surfaces/osc
parent57ee61772b6c44e7731619c5c74e45bb860ac4aa (diff)
use session stripable selection API
and remove old ControlProtocol signals to talk to GUI etc.
Diffstat (limited to 'libs/surfaces/osc')
-rw-r--r--libs/surfaces/osc/osc.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/surfaces/osc/osc.cc b/libs/surfaces/osc/osc.cc
index 9b5cfeb441..ec93311c64 100644
--- a/libs/surfaces/osc/osc.cc
+++ b/libs/surfaces/osc/osc.cc
@@ -2094,8 +2094,7 @@ OSC::strip_gui_select (int ssid, int yn, lo_message msg)
sur->expand_enable = false;
boost::shared_ptr<Stripable> s = get_strip (ssid, lo_message_get_source (msg));
if (s) {
- SetStripableSelection (s->presentation_info().order() + 1);
- //s->presentation_info().set_selected(true);
+ s->presentation_info().set_selected (!s->presentation_info().selected());
} else {
route_send_fail ("select", ssid, 0, lo_message_get_source (msg));
}