[kcm/kwinrules] Fix "window role" combo not showing up
Correctly set the policy of `windowrole` property to `StringMatch`. BUG: 422302 FIXED-IN: 5.19
This commit is contained in:
parent
a3139650a7
commit
0a06ee12c6
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ void RulesModel::populateRuleList()
|
|||
types->setFlag(RuleItem::AffectsWarning);
|
||||
|
||||
addRule(new RuleItem(QLatin1String("windowrole"),
|
||||
RulePolicy::NoPolicy, RuleItem::String,
|
||||
RulePolicy::StringMatch, RuleItem::String,
|
||||
i18n("Window role"), i18n("Window matching"),
|
||||
QIcon::fromTheme("dialog-object-properties")));
|
||||
|
||||
|
|
Loading…
Reference in a new issue