toggle toolbox only if it was visible
svn path=/trunk/KDE/kdelibs/; revision=1022111
This commit is contained in:
parent
fb365bfbf1
commit
01d626b7f4
@ -308,7 +308,7 @@ void DesktopToolBox::toolTriggered(bool)
|
||||
{
|
||||
QAction *action = qobject_cast<QAction *>(sender());
|
||||
|
||||
if (!action || !action->autoRepeat()) {
|
||||
if (showing() && (!action || !action->autoRepeat())) {
|
||||
emit toggled();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user