fixed an out of memory error when selecting the RO path – happened with our Westinghouse data

This commit is contained in:
John Jenko 2014-07-14 15:16:09 +00:00
parent 7ca44abe67
commit d4d188eb62

View File

@ -57,7 +57,7 @@ namespace VEPROMS
MessageBox.Show(ppTxtPath.Text, "Ro.Fst Doesn't Exist"); MessageBox.Show(ppTxtPath.Text, "Ro.Fst Doesn't Exist");
return; return;
} }
RODb roDb = RODb.Get(_roDbInfo.RODbID); RODb roDb = RODb.GetJustRoDb(_roDbInfo.RODbID);
if (_origROName != ppRTxtName.Text) roDb.ROName = ppRTxtName.Text; if (_origROName != ppRTxtName.Text) roDb.ROName = ppRTxtName.Text;
if (_origFolderPath != ppTxtPath.Text) if (_origFolderPath != ppTxtPath.Text)
{ {