13
0

OSC: select off by one bug, something must have changed by 1, fixed

This commit is contained in:
Len Ovens 2016-07-03 15:28:03 -07:00
parent 3267b4892c
commit e6621c4405

View File

@ -2094,7 +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());
SetStripableSelection (s->presentation_info().order() + 1);
//s->presentation_info().set_selected(true);
} else {
route_send_fail ("select", ssid, 0, lo_message_get_source (msg));