mirror of https://github.com/PCSX2/pcsx2.git
Qt: Stop fullscreen UI on window close
This commit is contained in:
parent
7b45e9296a
commit
97155c50c4
|
@ -1730,6 +1730,8 @@ void MainWindow::closeEvent(QCloseEvent* event)
|
|||
if (!s_vm_valid)
|
||||
{
|
||||
saveStateToConfig();
|
||||
if (m_display_widget)
|
||||
g_emu_thread->stopFullscreenUI();
|
||||
QMainWindow::closeEvent(event);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue