diff --git a/kcmkwin/kwinrules/detectwidget.cpp b/kcmkwin/kwinrules/detectwidget.cpp index 390a5fd7c7..853e220490 100644 --- a/kcmkwin/kwinrules/detectwidget.cpp +++ b/kcmkwin/kwinrules/detectwidget.cpp @@ -98,6 +98,7 @@ void DetectDialog::executeDialog() }; widget->class_label->setText( wmclass_class + " (" + wmclass_name + ' ' + wmclass_class + ")" ); widget->role_label->setText( role ); + widget->use_role->setEnabled( !role.isEmpty()); if( type == NET::Unknown ) widget->type_label->setText( i18n( "Unknown - will be treated as Normal Window" )); else