mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
SettingsPanelWindow: disable esc keybind when recording keybinds (fixes #1801)
This commit is contained in:
@@ -56,26 +56,31 @@ FloatingWindow {
|
||||
// Keyboard shortcuts
|
||||
Shortcut {
|
||||
sequence: "Escape"
|
||||
enabled: !PanelService.isKeybindRecording
|
||||
onActivated: SettingsPanelService.closeWindow()
|
||||
}
|
||||
|
||||
Shortcut {
|
||||
sequence: "Tab"
|
||||
enabled: !PanelService.isKeybindRecording
|
||||
onActivated: settingsContent.selectNextTab()
|
||||
}
|
||||
|
||||
Shortcut {
|
||||
sequence: "Backtab"
|
||||
enabled: !PanelService.isKeybindRecording
|
||||
onActivated: settingsContent.selectPreviousTab()
|
||||
}
|
||||
|
||||
Shortcut {
|
||||
sequence: "Up"
|
||||
enabled: !PanelService.isKeybindRecording
|
||||
onActivated: settingsContent.scrollUp()
|
||||
}
|
||||
|
||||
Shortcut {
|
||||
sequence: "Down"
|
||||
enabled: !PanelService.isKeybindRecording
|
||||
onActivated: settingsContent.scrollDown()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user