dialog was returning a result of Cancel even though the result was set to OK.
This commit is contained in:
parent
641dbeb593
commit
5649e60d69
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user