mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-27 12:04:16 +01:00
screenshot fixes (#6070)
* screenshot fixes * formatting * disable screenshot on pause
This commit is contained in:
parent
2d95b9946f
commit
2b2868f156
@ -588,7 +588,7 @@ void GMainWindow::InitializeHotkeys() {
|
|||||||
});
|
});
|
||||||
connect(hotkey_registry.GetHotkey(main_window, QStringLiteral("Capture Screenshot"), this),
|
connect(hotkey_registry.GetHotkey(main_window, QStringLiteral("Capture Screenshot"), this),
|
||||||
&QShortcut::activated, this, [&] {
|
&QShortcut::activated, this, [&] {
|
||||||
if (emu_thread->IsRunning()) {
|
if (ui->action_Capture_Screenshot->isEnabled()) {
|
||||||
OnCaptureScreenshot();
|
OnCaptureScreenshot();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user