fix ui flow when adding calendar items
This commit is contained in:
parent
72d4780f75
commit
b2ba01f55d
@ -79,7 +79,7 @@ Page {
|
|||||||
})
|
})
|
||||||
page.onDone.connect(function() {
|
page.onDone.connect(function() {
|
||||||
root.rule.timeDescriptor.timeEventItems.addTimeEventItem(timeEventItem);
|
root.rule.timeDescriptor.timeEventItems.addTimeEventItem(timeEventItem);
|
||||||
pageStack.pop();
|
pageStack.pop(root);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ Page {
|
|||||||
})
|
})
|
||||||
page.onDone.connect(function() {
|
page.onDone.connect(function() {
|
||||||
root.rule.timeDescriptor.calendarItems.addCalendarItem(calendarItem);
|
root.rule.timeDescriptor.calendarItems.addCalendarItem(calendarItem);
|
||||||
pageStack.pop();
|
pageStack.pop(root);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user