Skip to content

Commit

Permalink
Fix issue preventing Autobuilder from running test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rarisma committed Jan 14, 2024
1 parent 4a22c0a commit 9deb22d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions StoryCADLib/ViewModels/ShellViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ public static StoryModel GetModel()
/// </summary>
public static void ShowChange()
{
if (Ioc.Default.GetRequiredService<AppState>().StoryCADTestsMode) { return; }
if (ShellInstance.StoryModel.Changed) { return; }
ShellInstance.StoryModel.Changed = true;
ShellInstance.ChangeStatusColor = Colors.Red;
Expand Down

0 comments on commit 9deb22d

Please sign in to comment.