Skip to content

Commit

Permalink
Merge pull request #497 from walkingjason/479-clear-history
Browse files Browse the repository at this point in the history
Update PuzzleEditorPanel.java
  • Loading branch information
charlestian23 authored Mar 17, 2023
2 parents 830d843 + 0fe13d7 commit 847af1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/edu/rpi/legup/ui/PuzzleEditorPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,8 @@ public void onRedo(boolean isBottom, boolean isTop) {

@Override
public void onClearHistory() {

undo.setEnabled(false);
redo.setEnabled(false);
}

public BoardView getBoardView() {
Expand Down

0 comments on commit 847af1b

Please sign in to comment.