Fix project name not updating in recent project files after saving (#4428)

This commit is contained in:
AlexandreS
2022-10-24 12:02:16 +02:00
committed by GitHub
parent 9fedf124db
commit de53f4df4f

View File

@@ -2184,6 +2184,10 @@ const MainFrame = (props: Props) => {
if (wasSaved && unsavedChanges) unsavedChanges.sealUnsavedChanges();
updateWindowTitle();
}
await setState(state => ({
...state,
currentFileMetadata: { ...currentFileMetadata, name: newName },
}));
};
const onSaveProjectProperties = async (options: {