Check to see that the value is not null

This commit is contained in:
Rich 2016-03-04 02:01:38 +00:00
parent d67291bb2c
commit 78d9affc00

View File

@ -467,7 +467,7 @@ namespace VEPROMS
// for word docs, no enhanced controls should be visible: // for word docs, no enhanced controls should be visible:
grpLnkEnh.Visible = false; grpLnkEnh.Visible = false;
} }
ppCmbxFormat.SelectedValue = _SectionConfig.FormatSelection; if(_SectionConfig.FormatSelection != null) ppCmbxFormat.SelectedValue = _SectionConfig.FormatSelection;
_Initializing = false; _Initializing = false;
//_InitialIndex = ppCmbxFormat.SelectedIndex; //_InitialIndex = ppCmbxFormat.SelectedIndex;
} }
@ -1168,4 +1168,4 @@ namespace VEPROMS
// tcpFormat.Focus(); // tcpFormat.Focus();
//} //}
} }
} }