mirror of
https://github.com/stenzek/duckstation.git
synced 2025-07-20 17:10:08 +00:00
Qt: Fix fullscreen UI shutdown on language change
This commit is contained in:
parent
278614a415
commit
ad53fc2345
@ -2654,8 +2654,11 @@ void MainWindow::closeEvent(QCloseEvent* event)
|
||||
if (!s_system_valid)
|
||||
{
|
||||
QtUtils::SaveWindowGeometry("MainWindow", this);
|
||||
if (s_fullscreen_ui_started)
|
||||
|
||||
// surfaceless for language change
|
||||
if (s_fullscreen_ui_started && !g_emu_thread->isSurfaceless())
|
||||
g_emu_thread->stopFullscreenUI();
|
||||
|
||||
destroySubWindows();
|
||||
QMainWindow::closeEvent(event);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user