From 2b2868f1564cbdb2971829554729fa069cb4953f Mon Sep 17 00:00:00 2001 From: Z11-V <103266186+Z11-V@users.noreply.github.com> Date: Sat, 23 Jul 2022 21:57:32 +0530 Subject: [PATCH] screenshot fixes (#6070) * screenshot fixes * formatting * disable screenshot on pause --- src/citra_qt/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 29cdc15a9..29effcf24 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -588,7 +588,7 @@ void GMainWindow::InitializeHotkeys() { }); connect(hotkey_registry.GetHotkey(main_window, QStringLiteral("Capture Screenshot"), this), &QShortcut::activated, this, [&] { - if (emu_thread->IsRunning()) { + if (ui->action_Capture_Screenshot->isEnabled()) { OnCaptureScreenshot(); } });