Skip to content

Commit

Permalink
loading screen stuck fix (#15011)
Browse files Browse the repository at this point in the history
- small change to force update of the front end after a corrupt file is being opened
- in case of an error, re-setting the `ShowStartPage` will trigger the update to the front end and remove the loading screen
  • Loading branch information
dnenov authored Mar 14, 2024
1 parent d0c0387 commit 1c6a6ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DynamoCoreWpf/ViewModels/Core/DynamoViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1842,6 +1842,8 @@ private void Open(object parameters)
commandString,
MessageBoxButton.OK,
MessageBoxImage.Error);

this.ShowStartPage = true; // Triggers start page change to notify the frontend
}
else
{
Expand Down

0 comments on commit 1c6a6ea

Please sign in to comment.