Fixed content not restoring to correct region

This commit is contained in:
Robin 2017-03-05 17:25:07 +00:00
parent 39328decdf
commit 9a8fcb941f

View File

@ -307,6 +307,8 @@ namespace DarkUI.Docking
if (content == null)
continue;
content.DockArea = region.Area;
if (previousContent == null)
AddContent(content);
else