mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-25 19:03:08 +02:00
...
This commit is contained in:
parent
0bd0926b66
commit
804e4ba8f8
1 changed files with 1 additions and 1 deletions
|
|
@ -358,7 +358,7 @@ def handle_key_press(self, ev):
|
|||
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…
Reference in a new issue