Skip to content

Commit 5747775

Browse files
authored
Merge pull request #16 from mastodon-sc/fix-undoredostack-clear
Tiny change to fix UndoRedoStack.clear()
2 parents 785cea3 + 10be705 commit 5747775

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/mastodon/undo/UndoRedoStack.java

+2
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ public void trim()
183183
public void clear()
184184
{
185185
stack.clear();
186+
end = 0;
187+
top = 0;
186188
}
187189

188190
/**

0 commit comments

Comments
 (0)