mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
triggerbox: emit appropriate property change when region is cleared in a slot
This commit is contained in:
parent
06dc00546f
commit
99bc55465d
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue