From 78d9affc002f89865ae84db97ebe2c0b8afc21a2 Mon Sep 17 00:00:00 2001 From: Rich Date: Fri, 4 Mar 2016 02:01:38 +0000 Subject: [PATCH] Check to see that the value is not null --- PROMS/VEPROMS User Interface/frmSectionProperties.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.cs index d21c128a..db03331b 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.cs @@ -467,7 +467,7 @@ namespace VEPROMS // for word docs, no enhanced controls should be visible: grpLnkEnh.Visible = false; } - ppCmbxFormat.SelectedValue = _SectionConfig.FormatSelection; + if(_SectionConfig.FormatSelection != null) ppCmbxFormat.SelectedValue = _SectionConfig.FormatSelection; _Initializing = false; //_InitialIndex = ppCmbxFormat.SelectedIndex; } @@ -1168,4 +1168,4 @@ namespace VEPROMS // tcpFormat.Focus(); //} } -} \ No newline at end of file +}