Qt: Fix geometry not saving on shutdown

This commit is contained in:
Stenzek 2023-05-11 00:52:06 +10:00
parent 3c8e6fd66f
commit d85bb065a7
1 changed files with 1 additions and 0 deletions

View File

@ -2428,6 +2428,7 @@ void MainWindow::closeEvent(QCloseEvent* event)
// If there's no VM, we can just exit as normal.
if (!s_system_valid)
{
saveGeometryToConfig();
QMainWindow::closeEvent(event);
return;
}