Verified Commit 95079772 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Fix creating advanced rules

When the advanced editor is used, the Application combobox from the
simple editor is invalid.
parent 6ce3d20b
Pipeline #193869 passed with stage
in 1 minute and 41 seconds
......@@ -127,7 +127,9 @@ KCM.ScrollViewKCM {
}
onAccepted: {
ruleEdit.rule.sourceApplication = ruleEdit.simple.service[ruleEdit.simple.index]
if (ruleEdit.simple.index > -1) {
ruleEdit.rule.sourceApplication = ruleEdit.simple.service[ruleEdit.simple.index]
}
ruleEdit.accepted()
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment