diff --git a/kcmkwin/kwinrules/rulesmodel.cpp b/kcmkwin/kwinrules/rulesmodel.cpp index 775413e403..8f54e1083c 100644 --- a/kcmkwin/kwinrules/rulesmodel.cpp +++ b/kcmkwin/kwinrules/rulesmodel.cpp @@ -410,7 +410,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")));