Suppress ClosePage behavior if close aborted

This commit is contained in:
jlewin 2019-05-09 13:29:44 -07:00
parent f2bf0c5005
commit 7bce7dff9b

View file

@ -237,6 +237,13 @@ namespace MatterHackers.MatterControl
public override void ClosePage()
{
this.OnCancel(out bool abortClose);
if (abortClose)
{
return;
}
if (this.ActiveStage == null
|| this.ActiveStage?.ClosePage() == true)
{