B2022-143: Search sometimes defaulting to incorrect procedure set
This commit is contained in:
parent
299ea47dc1
commit
f7f52658b9
@ -1335,7 +1335,9 @@ namespace Volian.Controls.Library
|
|||||||
// So now set set it only if we actually load the RO tree
|
// So now set set it only if we actually load the RO tree
|
||||||
// Also, set _MydocVersion to dvilTmp[0]
|
// Also, set _MydocVersion to dvilTmp[0]
|
||||||
_lastRoFstId = rofstId;
|
_lastRoFstId = rofstId;
|
||||||
_MyDocVersion = dvilTmp[0];
|
// B2022-143: Only reset _MyDocVersion if it is null, it a procedure is in editor, _MyDocVersion is the set for
|
||||||
|
// the procedure active in the editor:
|
||||||
|
if (_MyDocVersion == null) _MyDocVersion = dvilTmp[0];
|
||||||
|
|
||||||
if (_MyDocVersion.DocVersionAssociations != null && _MyDocVersion.DocVersionAssociations.Count > 0)
|
if (_MyDocVersion.DocVersionAssociations != null && _MyDocVersion.DocVersionAssociations.Count > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user