Making the windows understand their closed states better.
Made print history have a data and a view
This commit is contained in:
parent
9679512a7b
commit
c4a6a9960a
9 changed files with 146 additions and 86 deletions
|
|
@ -98,6 +98,11 @@ namespace MatterHackers.MatterControl
|
|||
UiThread.RunOnIdle((state) =>
|
||||
{
|
||||
widescreenPanel.StoreUiState();
|
||||
|
||||
// give the widget a chance to hear about the close before they are actually colsed.
|
||||
bool cancelClose;
|
||||
this.OnClosing(out cancelClose);
|
||||
|
||||
this.CloseAndRemoveAllChildren();
|
||||
AddElements();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue