Add null check OUT-470
authorThomas
Thu, 19 Jul 2018 09:36:39 +0200
branchOUT-470
changeset 2304ff17a2db652c
parent 2303 e0ea74236164
child 2305 f0d2f138c306
Add null check
UI/RibbonCustomizations.cs
     1.1 --- a/UI/RibbonCustomizations.cs	Thu Jul 19 08:24:45 2018 +0200
     1.2 +++ b/UI/RibbonCustomizations.cs	Thu Jul 19 09:36:39 2018 +0200
     1.3 @@ -768,7 +768,7 @@
     1.4              try
     1.5              {
     1.6                  Mouse.OverrideCursor = System.Windows.Input.Cursors.Wait;
     1.7 -                this.GetFormRegionPrivacyStatus(control).BuildAndShowManager();
     1.8 +                this.GetFormRegionPrivacyStatus(control)?.BuildAndShowManager();
     1.9              }
    1.10              catch (Exception ex)
    1.11              {