summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-01-09 17:55:04 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-01-09 17:55:04 +0100
commitb76f7e59e6fbee2cd6fdcbb9eb70268a00d580c7 (patch)
tree339456bd58416785fc6b5a8c30432797001ff4d3 /src/mainview.cpp
parentrekonq 0.6.60 (diff)
downloadrekonq-b76f7e59e6fbee2cd6fdcbb9eb70268a00d580c7.tar.xz
Fix the always opened tabbar feature.
Felix Rohrbach's fix Thanks :) PS: plus a correction in previous UI by me
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 42a76758..cbe862fb 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -179,11 +179,15 @@ void MainView::updateTabBar()
if (ReKonfig::alwaysShowTabBar() || tabBar()->count() > 1)
{
if (tabBar()->isHidden())
+ {
tabBar()->show();
+ m_addTabButton->show();
+ }
}
else
{
tabBar()->hide();
+ m_addTabButton->hide();
}
updateTabButtonPosition();