OSC expand off should check current sellect
authorLen Ovens <len@ovenwerks.net>
Wed, 11 Apr 2018 16:35:51 +0000 (09:35 -0700)
committerLen Ovens <len@ovenwerks.net>
Tue, 19 Jun 2018 16:46:29 +0000 (09:46 -0700)
libs/surfaces/osc/osc.cc

index 808f88d2891092c3323264b9e7aa494940205bc3..94a1123f28f9f7f10271d14336ffe87ca9e9c24a 100644 (file)
@@ -4567,7 +4567,7 @@ OSC::sel_expand (uint32_t state, lo_message msg)
                s = sur->expand_strip;
        } else {
                sur->expand_enable = false;
-               s = _select;
+               s = boost::shared_ptr<Stripable> ();
        }
 
        return _strip_select (s, get_address (msg));