Verified Commit 6cbaf609 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.

(cherry picked from commit 95079772)
parent 226b2deb
Pipeline #193870 passed with stage
in 1 minute and 32 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