diff --git a/src/DockContainerWidget.cpp b/src/DockContainerWidget.cpp index 9f8188d..76fdc54 100644 --- a/src/DockContainerWidget.cpp +++ b/src/DockContainerWidget.cpp @@ -1495,7 +1495,7 @@ CAutoHideDockContainer* CDockContainerWidget::createAndSetupAutoHideContainer( if (DockWidget->autoHideTabOrder() > 0) { - return sideTabBar(area)->insertDockWidgetByOrder(DockWidget); + return autoHideSideBar(area)->insertDockWidgetByOrder(DockWidget); } return autoHideSideBar(area)->insertDockWidget(TabIndex, DockWidget);