Changed My DB reference to Generic
Fixed a memory issue when opening Verison Properties Declare MissingTokens variable as static to reduce repetition in the Error Log.
This commit is contained in:
@@ -44,7 +44,7 @@ namespace VEPROMS
|
||||
if (_SelectedROFst == null)
|
||||
{
|
||||
if (_DocVersionConfig.MyDocVersion.DocVersionAssociationCount < 1) return null;
|
||||
_SelectedROFst = ROFstInfo.Get(_DocVersionConfig.MyDocVersion.DocVersionAssociations[0].MyROFst.ROFstID);
|
||||
_SelectedROFst = ROFstInfo.GetJustROFst(_DocVersionConfig.MyDocVersion.DocVersionAssociations[0].ROFstID);
|
||||
}
|
||||
return _SelectedROFst;
|
||||
}
|
||||
@@ -125,7 +125,7 @@ namespace VEPROMS
|
||||
// Get the ro path - there is no 'default'
|
||||
if (_DocVersionConfig.MyDocVersion.DocVersionAssociationCount > 0)
|
||||
{
|
||||
RODbInfo rdi = RODbInfo.Get(SelectedROFst.MyRODb.RODbID);
|
||||
RODbInfo rdi = RODbInfo.GetJustRODB(SelectedROFst.RODbID);
|
||||
tbRoDb.Text = string.Format("{0} ({1})", rdi.ROName, rdi.FolderPath);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user