diff --git a/newIDE/app/src/MainFrame/index.js b/newIDE/app/src/MainFrame/index.js index d4fcf4ae0c..58d6e5ad39 100644 --- a/newIDE/app/src/MainFrame/index.js +++ b/newIDE/app/src/MainFrame/index.js @@ -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: {