Preselect option for using a specific window instead of whole app.
svn path=/trunk/kdebase/kwin/; revision=340348
This commit is contained in:
parent
e55b319ae2
commit
d4610e5520
1 changed files with 4 additions and 0 deletions
|
@ -97,6 +97,10 @@ 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( widget->use_role->isEnabled())
|
||||
widget->use_role->setChecked( true );
|
||||
else
|
||||
widget->use_whole_class->setChecked( true );
|
||||
if( type == NET::Unknown )
|
||||
widget->type_label->setText( i18n( "Unknown - will be treated as Normal Window" ));
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue