diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.cs index cb9dbe27..fc9729c4 100644 --- a/PROMS/Volian.Controls.Library/StepTabRibbon.cs +++ b/PROMS/Volian.Controls.Library/StepTabRibbon.cs @@ -1145,9 +1145,10 @@ namespace Volian.Controls.Library { _OleObjectEditors = 0;// no OLE Object Editors _EqnEdtPath = GetEqnEdt(); - if (_EqnEdtPath != null) _OleObjectEditors += 1; + // B2017-067 check for empty string as well as a null for paths to the Equation Editor and Visio + if (_EqnEdtPath != null && _EqnEdtPath != "") _OleObjectEditors += 1; _VisioPath = GetVisio(); - if (_VisioPath != null) _OleObjectEditors += 2; + if (_VisioPath != null && _VisioPath != "") _OleObjectEditors += 2; } return _OleObjectEditors; }