Skip to content

Commit

Permalink
reset history index
Browse files Browse the repository at this point in the history
  • Loading branch information
randy3k committed Aug 25, 2017
1 parent 33102b4 commit 63f198c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hist.py
Expand Up @@ -45,5 +45,5 @@ def run(self, edit, backwards=False):
class AlignTabHistoryListener(sublime_plugin.EventListener):
# restore History index
def on_deactivated(self, view):
if view.score_selector(0, 'text.aligntab') > 0:
if view.settings().get("AlignTabInputPanel"):
history.reset_index()

0 comments on commit 63f198c

Please sign in to comment.