Fixed bug where StartPage would overlay all other opened windows (AwesomeControls is a pile of crap that needs fixing too...)

This commit is contained in:
Michael Becker 2014-06-05 10:22:26 -04:00
parent 848c62c014
commit 202298613a

View File

@ -1470,7 +1470,7 @@ namespace UniversalEditor.UserInterface.WindowsForms
sp.OpenProjectClicked += FileOpenProject_Click;
dwStartPage = dcc.Windows.Add("pnlStartPage", "Start Page", sp);
dcc.Areas[DockPosition.Center].Areas[DockPosition.Center].Windows.Add(dwStartPage);
dcc.Areas[DockPosition.Center].Windows.Add(dwStartPage);
}
dcc.SwitchTab(dwStartPage);
}