An undoable action marks the sketh as modified

This commit is contained in:
Federico Fissore 2015-02-19 13:19:29 +01:00
parent 78f2e87b00
commit cad74c5f7c
1 changed files with 1 additions and 0 deletions

View File

@ -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();
}