Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some refactoring of preferences-related hotkey info storage (fixes #2953
) This commit does a few things: First, it moves the hotkey category names out of the preferences dialog and into the more appropriate hotkey file. Each name is now properly mapped to its corresponding category enum, so we don't have to worry about that anymore. Second, it adds a new mapping of hotkey categories to commands so one can easily fetch a list of hotkeys in a given category. Third, it excludes categories with no hotkeys from the filter dropdown in the Prefs dialog (this is the part that actually fixes the bug above). This also includes a slight behavior change to hotkey type filtering. Previously, if a hotkey's category didn't match any of the ones listed in the dropdown, that hotkey's row visibility would be set to the toggle state of the first row in the filter dropdown. Now it gets set to false.
- Loading branch information
Showing
4 changed files
with
85 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters