UI: WindowManager::closeWindow: Close on quit

This commit is contained in:
Nodir Temirkhodjaev 2024-01-08 10:01:48 +03:00
parent b324bbedb2
commit b2ca0c693e

View File

@ -664,7 +664,7 @@ bool WindowManager::closeWindow(WidgetWindow *w)
}
}
if (w->deleteOnClose()) {
if (m_isAppQuitting || w->deleteOnClose()) {
w->deleteLater();
return true;
}