CommonHostInterface: Add reset hotkey
This commit is contained in:
parent
36511fda18
commit
968c835249
|
@ -1408,6 +1408,12 @@ void CommonHostInterface::RegisterGeneralHotkeys()
|
|||
}
|
||||
});
|
||||
|
||||
RegisterHotkey(StaticString(TRANSLATABLE("Hotkeys", "General")), StaticString("Reset"),
|
||||
StaticString(TRANSLATABLE("Hotkeys", "Reset System")), [this](bool pressed) {
|
||||
if (!pressed && System::IsValid())
|
||||
ResetSystem();
|
||||
});
|
||||
|
||||
RegisterHotkey(StaticString(TRANSLATABLE("Hotkeys", "General")), StaticString("Screenshot"),
|
||||
StaticString(TRANSLATABLE("Hotkeys", "Save Screenshot")), [this](bool pressed) {
|
||||
if (!pressed && System::IsValid())
|
||||
|
|
Loading…
Reference in New Issue