This commit is contained in:
parent
aa628ce3de
commit
af2d1f00de
@ -80,6 +80,14 @@ namespace Volian.Controls.Library
|
|||||||
{
|
{
|
||||||
if (_MyDocVersion.DocVersionAssociationCount > 0)
|
if (_MyDocVersion.DocVersionAssociationCount > 0)
|
||||||
{
|
{
|
||||||
|
// if the count variable is not consistent with the actual list count,
|
||||||
|
// do a refresh. There was a bug, B2012-040, that was not reproducable..
|
||||||
|
// so this is an attempt to fix it.
|
||||||
|
if (_MyDocVersion.DocVersionAssociations.Count == 0)
|
||||||
|
{
|
||||||
|
_MyDocVersion.RefreshDocVersionAssociations();
|
||||||
|
if (_MyDocVersion.DocVersionAssociations.Count == 0) return;
|
||||||
|
}
|
||||||
MyROFSTLookup = _MyDocVersion.DocVersionAssociations[0].MyROFst.ROFSTLookup;
|
MyROFSTLookup = _MyDocVersion.DocVersionAssociations[0].MyROFst.ROFSTLookup;
|
||||||
_MyRODbID = _MyDocVersion.DocVersionAssociations[0].MyROFst.RODbID;
|
_MyRODbID = _MyDocVersion.DocVersionAssociations[0].MyROFst.RODbID;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user