Once the source has been saved, turns off the hasChanged property.

This commit is contained in:
a2geek committed 2026-10-06 19:33:01 -05:00
1 parent 07f58738ac
commit b1930e334a
1 file changed
+1
@@ -328,6 +328,7 @@ public class FileStoreWindow {
FileStore fileStore = fileStoreSelection.getSelectedItem();
Source source = fileStore.get(Source.class).orElseThrow();
source.save();
hasChanged.set(false);
} catch (Throwable t) {
showErrorDialog("Could not save file", t);
}