From 804e4ba8f8588bca967a168ac9f834494bb079b3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 8 Jan 2015 09:25:27 +0530 Subject: [PATCH] ... --- src/calibre/gui2/tweak_book/editor/snippets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/tweak_book/editor/snippets.py b/src/calibre/gui2/tweak_book/editor/snippets.py index 917df93404..9853fa03a4 100644 --- a/src/calibre/gui2/tweak_book/editor/snippets.py +++ b/src/calibre/gui2/tweak_book/editor/snippets.py @@ -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)