Skip to content

Commit

Permalink
Keeping the Warning Color for the new state
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusalvino committed Mar 14, 2023
1 parent 04c14c1 commit 40e9643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DynamoCoreWpf/ViewModels/Core/NodeViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ internal SolidColorBrush GetWarningColor()
return errorColor;
}

if (NodeModel.State == ElementState.Warning || NodeModel.State == ElementState.PersistentWarning)
if (NodeModel.State == ElementState.Warning || NodeModel.State == ElementState.PersistentWarning || NodeModel.State == ElementState.AssociatedWarning)
{
//Handle the case where the user has dismissed the warning and no warnings are showing.
if (ErrorBubble != null && !ErrorBubble.DoesNodeDisplayMessages)
Expand Down

0 comments on commit 40e9643

Please sign in to comment.