OSC: select off by one bug, something must have changed by 1, fixed
This commit is contained in:
parent
3267b4892c
commit
e6621c4405
|
@ -2094,7 +2094,7 @@ OSC::strip_gui_select (int ssid, int yn, lo_message msg)
|
||||||
sur->expand_enable = false;
|
sur->expand_enable = false;
|
||||||
boost::shared_ptr<Stripable> s = get_strip (ssid, lo_message_get_source (msg));
|
boost::shared_ptr<Stripable> s = get_strip (ssid, lo_message_get_source (msg));
|
||||||
if (s) {
|
if (s) {
|
||||||
SetStripableSelection (s->presentation_info().order());
|
SetStripableSelection (s->presentation_info().order() + 1);
|
||||||
//s->presentation_info().set_selected(true);
|
//s->presentation_info().set_selected(true);
|
||||||
} else {
|
} else {
|
||||||
route_send_fail ("select", ssid, 0, lo_message_get_source (msg));
|
route_send_fail ("select", ssid, 0, lo_message_get_source (msg));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user