From 202298613a4d08d19b19a7e8ec2e3f0bad81cd6f Mon Sep 17 00:00:00 2001 From: alcexhim Date: Thu, 5 Jun 2014 10:22:26 -0400 Subject: [PATCH] Fixed bug where StartPage would overlay all other opened windows (AwesomeControls is a pile of crap that needs fixing too...) --- .../MainWindow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CSharp/Environments/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/MainWindow.cs b/CSharp/Environments/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/MainWindow.cs index 8dce37eb..50f18d42 100644 --- a/CSharp/Environments/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/MainWindow.cs +++ b/CSharp/Environments/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/MainWindow.cs @@ -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); }