Make setting the same shortcut again work.
svn path=/trunk/kdebase/kwin/; revision=385879
This commit is contained in:
parent
8357a882fb
commit
119aa760c7
1 changed files with 1 additions and 1 deletions
|
@ -963,7 +963,7 @@ void Client::setShortcut( const QString& _cut )
|
||||||
// E.g. Alt+Ctrl+(ABCDEF) Win+X,Win+(ABCDEF)
|
// E.g. Alt+Ctrl+(ABCDEF) Win+X,Win+(ABCDEF)
|
||||||
if( !cut.contains( '(' ) && !cut.contains( ')' ) && !cut.contains( ' ' ))
|
if( !cut.contains( '(' ) && !cut.contains( ')' ) && !cut.contains( ' ' ))
|
||||||
{
|
{
|
||||||
if( workspace()->shortcutAvailable( KShortcut( cut )))
|
if( workspace()->shortcutAvailable( KShortcut( cut ), this ))
|
||||||
setShortcutInternal( KShortcut( cut ));
|
setShortcutInternal( KShortcut( cut ));
|
||||||
else
|
else
|
||||||
setShortcutInternal( KShortcut());
|
setShortcutInternal( KShortcut());
|
||||||
|
|
Loading…
Reference in a new issue