Fixed problem with recreating the main window.

This commit is contained in:
larsbrubaker 2014-07-07 17:37:42 -07:00
parent b581775524
commit f466f2ecbb

View file

@ -98,7 +98,9 @@ namespace MatterHackers.MatterControl
UiThread.RunOnIdle((state) =>
{
// 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();
});
}