diff --git a/popupapplet.cpp b/popupapplet.cpp index e190e863f..b2e2a4cb5 100644 --- a/popupapplet.cpp +++ b/popupapplet.cpp @@ -221,6 +221,12 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints) QSize prefSize; if (gWidget) { + if (proxy) { + proxy->setWidget(0); + delete proxy; + proxy = 0; + } + Corona *corona = qobject_cast(gWidget->scene()); if (corona) {