Skip to content

Commit 0fe4e7f

Browse files
author
Uwe Kindler
committed
Fixed #843 - AutoHideDockWidget: title bar disappears when docking directly from auto-hide state
1 parent f2db7ca commit 0fe4e7f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/DockAreaTitleBar.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -984,9 +984,7 @@ QString CDockAreaTitleBar::titleBarButtonToolTip(TitleBarButton Button) const
984984
//============================================================================
985985
void CDockAreaTitleBar::showAutoHideControls(bool Show)
986986
{
987-
if (Show)
988-
d->TabBar->setVisible(false); // Auto hide toolbar never has tabs
989-
987+
d->TabBar->setVisible(!Show); // Auto hide toolbar never has tabs
990988
d->MinimizeButton->setVisible(Show);
991989
if (!CDockManager::testConfigFlag(CDockManager::TabsAtBottom))
992990
d->AutoHideTitleLabel->setVisible(Show);

0 commit comments

Comments
 (0)