From 6866bfc91aa83df13b81fa6ae4bba1ffdf203a9d Mon Sep 17 00:00:00 2001 From: Deyan Nenov Date: Wed, 13 Mar 2024 13:46:57 +0000 Subject: [PATCH] loading screen stuck fix - 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 --- src/DynamoCoreWpf/ViewModels/Core/DynamoViewModel.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DynamoCoreWpf/ViewModels/Core/DynamoViewModel.cs b/src/DynamoCoreWpf/ViewModels/Core/DynamoViewModel.cs index 0becc9ac897..d18d8d84bba 100644 --- a/src/DynamoCoreWpf/ViewModels/Core/DynamoViewModel.cs +++ b/src/DynamoCoreWpf/ViewModels/Core/DynamoViewModel.cs @@ -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 {