Fix invalid state on restore

- Overlayed dock areas should not be added to the d->DockArea list
- As they are not treated like normal dock areas
This commit is contained in:
Syarif Fakhri 2022-09-13 12:44:48 +08:00
parent 4841d9b896
commit dfc2714d3b

View File

@ -1115,7 +1115,6 @@ bool DockContainerWidgetPrivate::restoreOverlayDockArea(CDockingStateReader& s,
else
{
DockArea->setProperty("currentDockWidget", CurrentDockWidget);
appendDockAreas({DockArea});
}
return true;