Allow editing rule exitActions
parent
c41e31f2f1
commit
ebf4ebb9b2
|
|
@ -702,6 +702,15 @@ Page {
|
||||||
implicitWidth: parent.width
|
implicitWidth: parent.width
|
||||||
ruleAction: root.rule.exitActions.get(index)
|
ruleAction: root.rule.exitActions.get(index)
|
||||||
onRemoveRuleAction: root.rule.exitActions.removeRuleAction(index)
|
onRemoveRuleAction: root.rule.exitActions.removeRuleAction(index)
|
||||||
|
onClicked: {
|
||||||
|
var ruleActionPage = pageStack.push(Qt.resolvedUrl("SelectRuleActionPage.qml"), {text: "Select action", ruleAction: ruleAction, rule: root.rule });
|
||||||
|
ruleActionPage.onBackPressed.connect(function() {
|
||||||
|
pageStack.pop();
|
||||||
|
})
|
||||||
|
ruleActionPage.onDone.connect(function() {
|
||||||
|
pageStack.pop(root);
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue