Skip to content

Commit

Permalink
reset index first
Browse files Browse the repository at this point in the history
  • Loading branch information
randy3k committed Mar 17, 2018
1 parent fa1b202 commit 509a158
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aligntab.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def run(self, edit, user_input=None, mode=False, live_preview=False):
view = self.view
if not user_input:
self.aligned = False
history.reset_index()
history.roll(backwards=True)
last = history.get()
v = self.view.window().show_input_panel(
Expand Down

0 comments on commit 509a158

Please sign in to comment.