Qt: Fix returning to desktop mode from Big Picture
This commit is contained in:
parent
bbb1befa43
commit
2e95667ec2
|
@ -765,6 +765,11 @@ void EmuThread::stopFullscreenUI()
|
|||
|
||||
if (m_is_fullscreen_ui_started)
|
||||
{
|
||||
// Need to switch out of fullscreen before stopping the fullscreen UI, otherwise Qt
|
||||
// terminates the applcation because briefly there are no windows remaining.
|
||||
if (m_is_fullscreen)
|
||||
setFullscreen(false, true);
|
||||
|
||||
GPUThread::StopFullscreenUI();
|
||||
m_is_fullscreen_ui_started = false;
|
||||
emit fullscreenUIStartedOrStopped(false);
|
||||
|
|
Loading…
Reference in New Issue