Skip to content

Persist cleared shortcuts instead of restoring defaults#1144

Merged
qvacua merged 1 commit intoqvacua:masterfrom
0x1b2c:fix_shortcuts
Dec 22, 2025
Merged

Persist cleared shortcuts instead of restoring defaults#1144
qvacua merged 1 commit intoqvacua:masterfrom
0x1b2c:fix_shortcuts

Conversation

@0x1b2c
Copy link
Copy Markdown
Contributor

@0x1b2c 0x1b2c commented Dec 3, 2025

Custom keyboard shortcuts cleared in Preferences would frustratingly revert to defaults after a restart. This happened because clearing a shortcut removed its UserDefaults key, causing the app to misinterpret it as "never set" on the next launch.

This fix ensures that clearing a shortcut stores an explicit "empty" value. This preserves the user's intent to disable the shortcut and prevents the default value from being restored.

Fixed by Gemini CLI.

This should close #537, #951, and #1050.

Custom keyboard shortcuts cleared in Preferences would frustratingly revert to defaults after a restart. This happened because clearing a shortcut removed its UserDefaults key, causing the app to misinterpret it as "never set" on the next launch.

This fix ensures that clearing a shortcut stores an explicit "empty" value. This preserves the user's intent to disable the shortcut and prevents the default value from being restored.

Co-authored-by: Gemini <gemini@google.com>
@qvacua qvacua merged commit a01f71b into qvacua:master Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch tabs using <⌘-1>, <⌘-2>, etc.

2 participants