diff --git a/src/AutoHideSideBar.cpp b/src/AutoHideSideBar.cpp index f427ca3..62afdfb 100644 --- a/src/AutoHideSideBar.cpp +++ b/src/AutoHideSideBar.cpp @@ -279,7 +279,7 @@ bool CAutoHideSideBar::eventFilter(QObject *watched, QEvent *event) show(); break; - case QEvent::Hide: + case QEvent::HideToParent: if (!hasVisibleTabs()) { hide();