B2017-215 /DB Switch was not working properly
This commit is contained in:
parent
fbc4b42ff1
commit
6ef5988005
@ -109,9 +109,11 @@ namespace Volian.Controls.Library
|
||||
get { return _MyROFSTLookup; }
|
||||
set
|
||||
{
|
||||
bool beforeIsNotNull = _MyROFSTLookup != null;
|
||||
bool afterIsNotNull = value != null;
|
||||
//if (!Visible) return; // don't reset anything if the form is invisible.
|
||||
_MyROFSTLookup = value; // define the tree nodes based on this rofst
|
||||
LoadROComboTree();
|
||||
if(beforeIsNotNull || afterIsNotNull)LoadROComboTree();// B2017-215 Added logic so that database is not accessed during initialization.
|
||||
}
|
||||
}
|
||||
private bool _LoadingList = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user