Don't even offer the possibility to match using window role if the window
doesn't have it set. svn path=/trunk/kdebase/kwin/; revision=334156
This commit is contained in:
parent
3966017ccd
commit
2e5c41ad63
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue