triggerbox: emit appropriate property change when region is cleared in a slot
This commit is contained in:
@@ -1722,6 +1722,7 @@ AudioTrigger::set_region_in_worker_thread_internal (std::shared_ptr<Region> r, b
|
||||
|
||||
if (!r) {
|
||||
data.reset ();
|
||||
send_property_change (ARDOUR::Properties::region);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -2987,6 +2988,7 @@ MIDITrigger::set_region_in_worker_thread (std::shared_ptr<Region> r)
|
||||
delete old;
|
||||
_model.reset ();
|
||||
set_name ("");
|
||||
send_property_change (ARDOUR::Properties::region);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user