Fixed problem with recreating the main window.
This commit is contained in:
parent
b581775524
commit
f466f2ecbb
1 changed files with 3 additions and 1 deletions
|
|
@ -98,7 +98,9 @@ namespace MatterHackers.MatterControl
|
||||||
UiThread.RunOnIdle((state) =>
|
UiThread.RunOnIdle((state) =>
|
||||||
{
|
{
|
||||||
// give the widget a chance to hear about the close before they are actually colsed.
|
// give the widget a chance to hear about the close before they are actually colsed.
|
||||||
widescreenPanel.RecreateAllPanels();
|
WidescreenPanel.PreChangePannels.CallEvents(this, null);
|
||||||
|
this.CloseAndRemoveAllChildren();
|
||||||
|
AddElements();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue