Qt: Fix geometry not saving on shutdown

pull/2980/head
Stenzek 2 years ago
parent 905934651a
commit 1b29212d6c

@ -2416,6 +2416,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;
}

Loading…
Cancel
Save