fixed problem where we got an error when changing a format selection on a tree node above a document version

This commit is contained in:
John Jenko 2012-03-22 18:21:12 +00:00
parent 95af379507
commit 4fc0ae9966

View File

@ -338,6 +338,7 @@ namespace VEPROMS
private void SaveApprStages() private void SaveApprStages()
{ {
if (myStageInfoList == null) return;
foreach (StageInfo si in myStageInfoList)// spin through old list (database) foreach (StageInfo si in myStageInfoList)// spin through old list (database)
{ {
LocalStageInfo found = null; LocalStageInfo found = null;
@ -379,6 +380,7 @@ namespace VEPROMS
private void SaveAnnotationTypes() private void SaveAnnotationTypes()
{ {
if (myAnnotationTypeInfoList == null) return;
foreach (AnnotationTypeInfo ai in myAnnotationTypeInfoList) //spin through old list (database) foreach (AnnotationTypeInfo ai in myAnnotationTypeInfoList) //spin through old list (database)
{ {
LocalAnnotationTypeInfo found = null; LocalAnnotationTypeInfo found = null;