Skip to content

Commit 6dacb6b

Browse files
committed
Clear Modified flag on Save As...
Fixes #5550 (in the proper way this time)
1 parent 8756482 commit 6dacb6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: arduino-core/src/processing/app/SketchFile.java

+1
Original file line numberDiff line numberDiff line change
@@ -298,5 +298,6 @@ public void saveAs(File newFile) throws IOException {
298298

299299
BaseNoGui.saveFile(storage.getText(), newFile);
300300
renamedTo(newFile);
301+
storage.clearModified();
301302
}
302303
}

0 commit comments

Comments
 (0)