Fixed a bug in restore functionality that caused application crash, added initial support for perspectives

This commit is contained in:
Uwe Kindler
2018-02-13 12:00:58 +01:00
parent 805e97946e
commit 8a401ebd68
11 changed files with 517 additions and 226 deletions

View File

@@ -522,9 +522,10 @@ bool DockContainerWidgetPrivate::restoreDockArea(QXmlStreamReader& s,
else
{
DockArea->setProperty("currentIndex", CurrentIndex);
DockAreas.append(DockArea);
}
CreatedWidget = DockArea;
DockAreas.append(DockArea);
return true;
}