Cancel the popup timer when the user manually opens or closes the popup.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856281
This commit is contained in:
parent
918e00a85b
commit
d93456515d
@ -293,10 +293,14 @@ void PopupApplet::popupEvent(bool)
|
||||
void PopupAppletPrivate::togglePopup()
|
||||
{
|
||||
if (dialog) {
|
||||
dialog->move(q->popupPosition(dialog->size()));
|
||||
dialog->show();
|
||||
|
||||
dialog->clearFocus();
|
||||
if (timer) {
|
||||
timer->stop();
|
||||
}
|
||||
|
||||
dialog->move(q->popupPosition(dialog->size()));
|
||||
dialog->show();
|
||||
|
||||
dialog->clearFocus();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user