mirror of
https://github.com/tnodir/fort
synced 2024-11-15 12:05:10 +00:00
UI: WindowManager::closeWindow: Close on quit
This commit is contained in:
parent
b324bbedb2
commit
b2ca0c693e
@ -664,7 +664,7 @@ bool WindowManager::closeWindow(WidgetWindow *w)
|
||||
}
|
||||
}
|
||||
|
||||
if (w->deleteOnClose()) {
|
||||
if (m_isAppQuitting || w->deleteOnClose()) {
|
||||
w->deleteLater();
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user