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,6 +293,10 @@ void PopupApplet::popupEvent(bool)
void PopupAppletPrivate::togglePopup()
{
if (dialog) {
if (timer) {
timer->stop();
}
dialog->move(q->popupPosition(dialog->size()));
dialog->show();