This commit is contained in:
Kovid Goyal 2015-01-08 09:25:27 +05:30
parent 0bd0926b66
commit 804e4ba8f8

View File

@ -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)