Skip to content

Commit

Permalink
Fixed INoHighlightingPlugin usage
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkMpn committed Jan 12, 2023
1 parent cf1daf0 commit 5844ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XrmToolBox/New/PluginForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private void DisplayHighlight(ConnectionDetail detail)
{
tlpHighlight.Visible = false;

if (detail?.IsEnvironmentHighlightSet ?? false && !(pluginControlBase is INoHighlightingPlugin))
if ((detail?.IsEnvironmentHighlightSet ?? false) && !(pluginControlBase is INoHighlightingPlugin))
{
BackColor = detail.EnvironmentHighlightingInfo?.Color ?? DefaultBackColor;
lblEnvInfo.ForeColor = detail.EnvironmentHighlightingInfo?.TextColor ?? DefaultForeColor;
Expand Down

0 comments on commit 5844ea6

Please sign in to comment.