mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +08:00
Fix the side tab widget not updating style when its restored from XML
This commit is contained in:
parent
be4e5a88a6
commit
37edf47c4b
@ -1095,9 +1095,10 @@ bool DockContainerWidgetPrivate::restoreOverlayDockArea(CDockingStateReader& s,
|
||||
DockWidget->setProperty(internal::ClosedProperty, true);
|
||||
DockWidget->setProperty(internal::DirtyProperty, false);
|
||||
_this->sideTabBar(area)->insertSideTab(0, DockWidget->sideTabWidget());
|
||||
DockWidget->sideTabWidget()->show();
|
||||
DockWidget->toggleView(false);
|
||||
DockArea->overlayDockContainer()->addDockWidget(DockWidget);
|
||||
DockWidget->sideTabWidget()->show();
|
||||
DockWidget->sideTabWidget()->updateStyle(); // Needed as the side tab widget get it's left/right property from the overlay dock container which was just added
|
||||
}
|
||||
|
||||
if (Testing)
|
||||
|
Loading…
Reference in New Issue
Block a user