diff --git a/src/AutoHideSideBar.cpp b/src/AutoHideSideBar.cpp index 62afdfb..85e4b99 100644 --- a/src/AutoHideSideBar.cpp +++ b/src/AutoHideSideBar.cpp @@ -336,7 +336,7 @@ bool CAutoHideSideBar::hasVisibleTabs() const { for (auto i = 0; i < tabCount(); i++) { - if (tabAt(i)->isVisible()) + if (tabAt(i)->isVisibleTo(parentWidget())) { return true; }