B2018-025: Proms crashes opening Working Draft if associated enhanced Working Draft had been deleted

This commit is contained in:
2018-03-01 15:34:22 +00:00
parent 181008c9f9
commit 60b83e9926
3 changed files with 48 additions and 7 deletions

View File

@@ -60,6 +60,7 @@ namespace VEPROMS
public frmVersionsProperties(DocVersionConfig docVersionConfig)
{
_DocVersionConfig = docVersionConfig;
docVersionConfig.RefreshMyEnhancedDocuments();
_Initializing = true;
InitializeComponent();
btnGeneral.PerformClick(); // always start with General tab or button
@@ -195,6 +196,7 @@ namespace VEPROMS
dvc.SaveDVEnhancedDocuments();
dv.Config = dvc.ToString();
dv.Save();
DocVersionInfo.Refresh(dv);
}
}
}