Automation: fix UI remove item

This commit is contained in:
Milos Kozak 2022-06-02 16:24:51 +02:00
parent 87a404f71a
commit 7fac5a87f3

View file

@ -261,6 +261,7 @@ class AutomationPlugin @Inject constructor(
@Synchronized
fun add(event: AutomationEvent) {
automationEvents.add(event)
event.position = automationEvents.size - 1
rxBus.send(EventAutomationDataChanged())
}