mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-17 11:54:33 +01:00
An undoable action marks the sketh as modified
This commit is contained in:
parent
78f2e87b00
commit
cad74c5f7c
@ -1697,6 +1697,7 @@ public class Editor extends JFrame implements RunnerListener {
|
||||
|
||||
} else if (undo != null) {
|
||||
undo.addEdit(new CaretAwareUndoableEdit(e.getEdit(), textarea));
|
||||
sketch.setModified(true);
|
||||
undoAction.updateUndoState();
|
||||
redoAction.updateRedoState();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user