mirror of
https://github.com/stenzek/duckstation.git
synced 2026-07-11 01:24:11 +02:00
Qt: Fix saved geometry being lost in nogui mode
This commit is contained in:
@@ -2940,7 +2940,8 @@ void MainWindow::closeEvent(QCloseEvent* event)
|
||||
// When recreating, g_main_window will be the new window at this point.
|
||||
if (!QtHost::IsSystemValidOrStarting() || g_main_window != this)
|
||||
{
|
||||
QtUtils::SaveWindowGeometry(this);
|
||||
if (!QtHost::InNoGUIMode())
|
||||
QtUtils::SaveWindowGeometry(this);
|
||||
|
||||
if (s_locals.fullscreen_ui_started && g_main_window == this)
|
||||
g_core_thread->stopFullscreenUI();
|
||||
|
||||
Reference in New Issue
Block a user