mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-31 03:45:38 +00:00
Qt: Fix geometry not saving on shutdown
This commit is contained in:
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 there's no VM, we can just exit as normal.
|
||||||
if (!s_system_valid)
|
if (!s_system_valid)
|
||||||
{
|
{
|
||||||
|
saveGeometryToConfig();
|
||||||
QMainWindow::closeEvent(event);
|
QMainWindow::closeEvent(event);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue