This commit is contained in:
Kovid Goyal 2015-01-08 08:39:12 +05:30
parent ed5ac9159e
commit ad0ffcaadd

View File

@ -262,7 +262,7 @@ class Template(list):
if not m.is_deleted: if not m.is_deleted:
m.text = ts.text m.text = ts.text
for x in self: for x in self:
if x.num > ts.num: if x.num > ts.num and not x.is_deleted:
self.active_tab_stop = x self.active_tab_stop = x
x.set_editor_cursor(editor) x.set_editor_cursor(editor)
return x return x