mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-09 06:25:41 -04:00
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…
x
Reference in New Issue
Block a user