diff --git a/DesignSpace/Workspace/Workspace.js b/DesignSpace/Workspace/Workspace.js index cea402cf2..b40efe538 100644 --- a/DesignSpace/Workspace/Workspace.js +++ b/DesignSpace/Workspace/Workspace.js @@ -186,6 +186,14 @@ function newWorkspace() { /* Validation if it is too early to save. */ if (isInitialized === false) { return } + /* Validation of that the user changed the workspace name at least once. */ + if (workspace.name === 'Default') { + canvas.cockpitSpace.setStatus( + 'Could not save the Workspace. Please rename the Workspace so that it can be saved.' + , 150, canvas.cockpitSpace.statusTypes.WARNING) + return + } + /* Validation of 2 sessions opened at the same time. */ let savedSessionTimestamp = window.localStorage.getItem('Session Timestamp') if (Number(savedSessionTimestamp) !== sessionTimestamp) {