From cc28bbcefc0051201a533f3d7633ad71d1c2ae0a Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 19 Nov 2008 14:02:37 +0000 Subject: [PATCH] --- PROMS/VEPROMS User Interface/frmSectionProperties.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.cs index 6036e185..9155bc3e 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.cs @@ -138,7 +138,8 @@ namespace VEPROMS private void ppCmbxLibDocFill() { _Initializing = true; - bool isLib = _SectionConfig.MySection.MyContent.MyEntry.MyDocument.LibTitle != ""; + bool isLib = false; + if (_SectionConfig.MySection.MyContent.MyEntry.MyDocument!=null && (_SectionConfig.MySection.MyContent.MyEntry.MyDocument.LibTitle != null) && (_SectionConfig.MySection.MyContent.MyEntry.MyDocument.LibTitle != "")) isLib = true; if (isLib) { ppBtnCvrtToLibDoc.Text = "Convert this Section To A Non-Library Document";