mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'edit-toc-fix' of https://github.com/chocolatechipcats/calibre
This commit is contained in:
commit
3173b9dd58
@ -95,7 +95,7 @@ class ToCEditAction(InterfaceActionWithLibraryDrop):
|
||||
if not ans:
|
||||
error_dialog(self.gui, _('Cannot edit ToC'),
|
||||
_('Editing Table of Contents is only supported for books in the %s'
|
||||
' formats. Convert to one of those formats before polishing.')
|
||||
' formats. Convert to one of those formats before editing.')
|
||||
%_(' or ').join(sorted(supported)), show=True)
|
||||
ans = OrderedDict(ans)
|
||||
if len(ans) > 5:
|
||||
|
Loading…
x
Reference in New Issue
Block a user