make menu close on button click

issue: MatterHackers/MCCentral#4670
Print pop-up should close after clicking print (same for after clicking setup if available)
This commit is contained in:
Lars Brubaker 2018-12-05 15:17:23 -08:00
parent 0b2a8f6328
commit 73241b5c6c
2 changed files with 5 additions and 1 deletions

View file

@ -199,6 +199,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
null,
CancellationToken.None);
});
this.CloseMenu();
};
setupRow.AddChild(new HorizontalSpacer());
setupRow.AddChild(startPrintButton);
@ -234,6 +236,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
null,
CancellationToken.None);
});
this.CloseMenu();
};
column.AddChild(finishSetupButton);
}