diff --git a/src/plasmaquick/dialog.cpp b/src/plasmaquick/dialog.cpp index 216688025..113c9d593 100644 --- a/src/plasmaquick/dialog.cpp +++ b/src/plasmaquick/dialog.cpp @@ -1165,6 +1165,7 @@ bool Dialog::event(QEvent *event) void Dialog::hideEvent(QHideEvent *event) { QQuickWindow::hideEvent(event); + destroy(); } void Dialog::classBegin()