CommonHostInterface: Add reset hotkey
This commit is contained in:
parent
36511fda18
commit
968c835249
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue