diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.cs index 7875c56f..692154ad 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.cs @@ -74,7 +74,6 @@ namespace VEPROMS // Save whether we should display the default values on this property page Settings.Default.ShowDefaultSectionProp = ppCbShwDefSettings.Checked; Settings.Default.Save(); - DialogResult = DialogResult.OK; // save the type based on selection. _SectionConfig.MySection.MyContent.Type = ((DocStyle)ppCmbxStyleSectionType.SelectedItem).Index + 10000; @@ -105,6 +104,7 @@ namespace VEPROMS SaveText(ppSectNumberStpRTB); SaveText(ppSectTitleStpRTB); mySection.Dispose(); + this.DialogResult = DialogResult.OK; this.Close(); } public void SaveText(StepRTB myStepRTB)