Skip to content

Commit

Permalink
Ensure project name is set before navigation reset
Browse files Browse the repository at this point in the history
  • Loading branch information
glopesdev committed Sep 3, 2024
1 parent a5f7449 commit 96f9119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bonsai.Editor/EditorForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,7 @@ bool OpenWorkflow(string fileName, bool setWorkingDirectory)
}

workflowBuilder = PrepareWorkflow(workflowBuilder, workflowVersion, out bool upgraded);
saveWorkflowDialog.FileName = fileName;
editorControl.ResetNavigation();
editorSite.ValidateWorkflow();

Expand All @@ -908,7 +909,6 @@ bool OpenWorkflow(string fileName, bool setWorkingDirectory)
}
}

saveWorkflowDialog.FileName = fileName;
ResetProjectStatus();
if (upgraded)
{
Expand Down

0 comments on commit 96f9119

Please sign in to comment.