diff --git a/plasmoid/plugin/dialog.cpp b/plasmoid/plugin/dialog.cpp index 0452080ed..73fcb9402 100644 --- a/plasmoid/plugin/dialog.cpp +++ b/plasmoid/plugin/dialog.cpp @@ -47,7 +47,8 @@ bool Dialog::event(QEvent *e) { if (e->type() == QEvent::Enter) { setContainsMouse(true); - } else if (e->type() == QEvent::Leave) { + } else if (e->type() == QEvent::Leave + || e->type() == QEvent::Hide) { setContainsMouse(false); }