[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:
Ismael Asensio 2020-06-01 19:06:42 +02:00
parent a3139650a7
commit 0a06ee12c6

View file

@ -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")));