mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Bug 1901435]: Capitalized tags in the Category editor is not saved. Fixed by not offering the case change operations unless the item is being edited. This prevents unwelcome interactions between the widget's editor management (undo etc) and changing the case.
This commit is contained in:
parent
795f326ead
commit
a380227d24
@ -296,6 +296,7 @@ class TagListEditor(QDialog, Ui_TagListEditor):
|
||||
ca.triggered.connect(partial(self.search_for_books, item))
|
||||
if disable_copy_paste_search:
|
||||
ca.setEnabled(False)
|
||||
if self.table.state() == self.table.EditingState:
|
||||
m.addSeparator()
|
||||
case_menu = QMenu(_('Change case'))
|
||||
action_upper_case = case_menu.addAction(_('Upper case'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user