B2023-004 set MyDVI with the current document version when the myRTB setting is changed.

This commit is contained in:
John Jenko 2023-01-17 14:26:19 +00:00
parent 09c74a00ef
commit 7be346b6c8

View File

@ -216,6 +216,9 @@ namespace Volian.Controls.Library
CurROLink = null;
_savCurROLink = null;
}
// B2023-004 assign the doc version info associated with the current RTB (rich text box)
// this fixes an issue where unit designators could not be linked in the step edit (BNPP data)
MyDvi = _myRTB.MyItemInfo.MyDocVersion;
MyROFST = (_myRTB.MyItemInfo.MyDocVersion.DocVersionAssociationCount > 0) ? _myRTB.MyItemInfo.MyDocVersion.DocVersionAssociations[0].MyROFst : null;
}