mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
ba8a673047
@ -91,7 +91,7 @@ class SaveTemplate(QWidget, Ui_Form):
|
|||||||
return True
|
return True
|
||||||
try:
|
try:
|
||||||
t = validation_formatter.validate(tmpl)
|
t = validation_formatter.validate(tmpl)
|
||||||
if not t:
|
if not t or t == tmpl:
|
||||||
return question_dialog(self, _('Constant template'),
|
return question_dialog(self, _('Constant template'),
|
||||||
_('The template contains no {fields}, so all '
|
_('The template contains no {fields}, so all '
|
||||||
'books will have the same name. Is this OK?'))
|
'books will have the same name. Is this OK?'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user