Skip to content

Commit

Permalink
Merge pull request #1201 from MarkMpn/highlighting
Browse files Browse the repository at this point in the history
Fixed INoHighlightingPlugin usage
  • Loading branch information
MscrmTools authored Jan 23, 2023
2 parents cf1daf0 + 5844ea6 commit 3b75455
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 3b75455

Please sign in to comment.