diff --git a/CHANGES b/CHANGES index 7d1c0bcc6..90e9dabc7 100644 --- a/CHANGES +++ b/CHANGES @@ -36,6 +36,7 @@ Bugfixes: - VFS: Fix reading multiple files from a 7z archive - GBA: Fix filehandle leak with savegames - GBA: Timer 0 cannot be count up + - Qt: Fix being unable to pause manually when using auto-pausing Misc: - 3DS: Use blip_add_delta_fast for a small speed improvement - OpenGL: Log shader compilation failure diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index 41ae3ce7e..b1559974d 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -1530,6 +1530,7 @@ void Window::focusCheck() { } if (QGuiApplication::focusWindow() && m_autoresume) { m_controller->setPaused(false); + m_autoresume = false; } else if (!QGuiApplication::focusWindow() && !m_controller->isPaused()) { m_autoresume = true; m_controller->setPaused(true);