diff --git a/src/AutoHideTab.cpp b/src/AutoHideTab.cpp index 089fddf..f20fb11 100644 --- a/src/AutoHideTab.cpp +++ b/src/AutoHideTab.cpp @@ -478,7 +478,7 @@ void CAutoHideTab::mouseReleaseEvent(QMouseEvent* ev) case DraggingFloatingWidget: ev->accept(); d->FloatingWidget->finishDragging(); - if (d->DockWidget->isAutoHide() && d->DragStartOrientation != orientation()) + if (d->DockWidget->autoHideDockContainer() && d->DragStartOrientation != orientation()) { d->DockWidget->autoHideDockContainer()->resetToInitialDockWidgetSize(); }