B2019-054 Upon startup of PROMS, the initialization of ProcItem caused the list of PROMS databases to display.

This commit is contained in:
John Jenko 2019-04-04 13:53:11 +00:00
parent 917fda2bf5
commit 304860b7e2

View File

@ -28,7 +28,8 @@ namespace Volian.Controls.Library
get { return _ProcItem; } get { return _ProcItem; }
set set
{ {
if (!DesignMode) // B2019-043 need to check if we are just saving changes to the user interface // B2019-054 needed to add a check for value being NULL else we would always get a list of PROMS database to choose from (prematurely)
if (!DesignMode && value != null) // B2019-043 need to check if we are just saving changes to the user interface
{ {
//if (_ProcItem == value) return; // Jeff (Westinghouse) requested list to be provided every time fixes both C2016-007 and B2016-097 //if (_ProcItem == value) return; // Jeff (Westinghouse) requested list to be provided every time fixes both C2016-007 and B2016-097
_ProcItem = value; _ProcItem = value;