Mark as unchanged after saving the file

This commit is contained in:
Thomas Weber committed 2020-12-06 19:08:32 -06:00
1 parent 698b325591
commit 20ac5407f4
1 file changed
+1 -1
@@ -50,9 +50,9 @@ class SB3DownloaderFileSystem extends React.Component {
return this.saveAsNew();
}
async saveToHandle (handle) {
this.props.onProjectUnchanged();
const content = await this.props.saveProjectSb3();
await FileSystemAPI.writeToHandle(handle, content);
this.props.onProjectUnchanged();
}
handleSaveError (e) {
if (e.name === 'AbortError') {