Skip to content

Commit cad74c5

Browse files
author
Federico Fissore
committed
An undoable action marks the sketh as modified
1 parent 78f2e87 commit cad74c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/processing/app/Editor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1697,6 +1697,7 @@ public void undoableEditHappened(UndoableEditEvent e) {
16971697

16981698
} else if (undo != null) {
16991699
undo.addEdit(new CaretAwareUndoableEdit(e.getEdit(), textarea));
1700+
sketch.setModified(true);
17001701
undoAction.updateUndoState();
17011702
redoAction.updateRedoState();
17021703
}

0 commit comments

Comments
 (0)