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:
Rob Scheepmaker 2008-09-02 14:54:58 +00:00
parent 918e00a85b
commit d93456515d

View File

@ -293,10 +293,14 @@ void PopupApplet::popupEvent(bool)
void PopupAppletPrivate::togglePopup()
{
if (dialog) {
dialog->move(q->popupPosition(dialog->size()));
dialog->show();
if (timer) {
timer->stop();
}
dialog->clearFocus();
dialog->move(q->popupPosition(dialog->size()));
dialog->show();
dialog->clearFocus();
}
}