mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
0bd0926b66
commit
804e4ba8f8
@ -358,7 +358,7 @@ class SnippetManager(QObject):
|
||||
if snip is None:
|
||||
error_dialog(self.parent(), _('No snippet found'), _(
|
||||
'No matching snippet was found'), show=True)
|
||||
return False
|
||||
return True
|
||||
template = expand_template(editor, trigger, snip['template'])
|
||||
if template.has_tab_stops:
|
||||
self.active_templates.append(template)
|
||||
|
Loading…
x
Reference in New Issue
Block a user