Automation: fix UI remove item
This commit is contained in:
parent
87a404f71a
commit
7fac5a87f3
1 changed files with 1 additions and 0 deletions
|
@ -261,6 +261,7 @@ class AutomationPlugin @Inject constructor(
|
||||||
@Synchronized
|
@Synchronized
|
||||||
fun add(event: AutomationEvent) {
|
fun add(event: AutomationEvent) {
|
||||||
automationEvents.add(event)
|
automationEvents.add(event)
|
||||||
|
event.position = automationEvents.size - 1
|
||||||
rxBus.send(EventAutomationDataChanged())
|
rxBus.send(EventAutomationDataChanged())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue