mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2026-10-24 23:02:27 +00:00
Once the source has been saved, turns off the hasChanged property.
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user