From 0b4d040893e7411858f59ef91a9413ef2de5258d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 11 May 2024 12:48:54 +0530 Subject: [PATCH] Add accelerators for the filter checkboxes --- src/calibre/gui2/tweak_book/spell.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/calibre/gui2/tweak_book/spell.py b/src/calibre/gui2/tweak_book/spell.py index 0b870f0871..0b701ae750 100644 --- a/src/calibre/gui2/tweak_book/spell.py +++ b/src/calibre/gui2/tweak_book/spell.py @@ -1183,11 +1183,11 @@ class SpellCheck(Dialog): ac.setToolTip(tooltip) h.addWidget(ac) return ac - self.show_only_misspelt = hw('misspelled', _('spelled correctly'), _('Hide words that are spelled correctly')) - self.all_caps = hw('all-caps', _('ALL CAPS'), _('Hide words with all capital letters')) - self.with_numbers = hw('with-numbers', _('with numbers'), _('Hide words that contain numbers')) - self.camel_case = hw('camel-case', _('camelCase'), _('Hide words in camelCase')) - self.snake_case = hw('snake-case', _('snake_case'), _('Hide words in snake_case')) + self.show_only_misspelt = hw('misspelled', _('&spelled correctly'), _('Hide words that are spelled correctly')) + self.all_caps = hw('all-caps', _('&ALL CAPS'), _('Hide words with all capital letters')) + self.with_numbers = hw('with-numbers', _('with &numbers'), _('Hide words that contain numbers')) + self.camel_case = hw('camel-case', _('ca&melCase'), _('Hide words in camelCase')) + self.snake_case = hw('snake-case', _('sna&ke_case'), _('Hide words in snake_case')) h.addStretch(10) m.h2 = h = QHBoxLayout()