Qt: go out of fullsceen if exit game pop up is triggered

This commit is contained in:
Megamouse committed 2019-04-24 21:48:36 +02:00
1 parent 258df80bf6
commit bb0609372d
1 file changed
+5
+5
View File
@@ -493,6 +493,11 @@ bool gs_frame::event(QEvent* ev)
{
if (m_gui_settings->GetValue(gui::ib_confirm_exit).toBool())
{
if (visibility() == FullScreen)
{
toggle_fullscreen();
}
int result;
Emu.CallAfter([this, &result]()