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()
|
void PopupAppletPrivate::togglePopup()
|
||||||
{
|
{
|
||||||
if (dialog) {
|
if (dialog) {
|
||||||
dialog->move(q->popupPosition(dialog->size()));
|
if (timer) {
|
||||||
dialog->show();
|
timer->stop();
|
||||||
|
}
|
||||||
|
|
||||||
dialog->clearFocus();
|
dialog->move(q->popupPosition(dialog->size()));
|
||||||
|
dialog->show();
|
||||||
|
|
||||||
|
dialog->clearFocus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user