Fixed positioning of document DockingWindow

This commit is contained in:
Michael Becker 2014-06-08 17:18:45 -04:00
parent 981799122d
commit aa12684ca7

View File

@ -641,7 +641,7 @@ namespace UniversalEditor.UserInterface.WindowsForms
else
{
DockingWindow wnd = dcc.Windows.Add(System.IO.Path.GetFileName(FileName), page);
dcc.Areas[DockPosition.Center].Areas[DockPosition.Center].Windows.Add(wnd);
dcc.Areas[DockPosition.Center].Windows.Add(wnd);
}
page.OpenFile(FileName);