diff --git a/src/window/proxywindow.cpp b/src/window/proxywindow.cpp index f9633f0e..1a2a97ea 100644 --- a/src/window/proxywindow.cpp +++ b/src/window/proxywindow.cpp @@ -134,6 +134,7 @@ void ProxyWindowBase::ensureQWindow() { if (useOldWindow) return; delete this->window; + this->window = nullptr; // createQQuickWindow may indirectly reference this->window this->window = this->createQQuickWindow(); this->window->setFormat(format); }