B2017-067 don’t give option to use Visio if it is not installed on the machine
This commit is contained in:
parent
2d23a5e6da
commit
0e18aa7b83
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user