summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-07-11 17:53:25 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-07-11 17:53:25 +0200
commit788da36038c10c902c6f78690b4ba01b86a65642 (patch)
tree413e38a55d0d7ece55b029389ef36131094082ba /src/mainview.cpp
parentsyntax fix and addBookmark Action created just if necessary (diff)
downloadrekonq-788da36038c10c902c6f78690b4ba01b86a65642.tar.xz
Fixing addTabButton visibility.
Courtesy patch from Zorael. Thanks ;)
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index a3c6e77e..ec6ffea1 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -177,6 +177,7 @@ void MainView::showTabBar()
if (m_tabBar->isHidden())
{
m_tabBar->show();
+ m_addTabButton->show();
}
return;
}
@@ -184,12 +185,14 @@ void MainView::showTabBar()
if (m_tabBar->count() == 1)
{
m_tabBar->hide();
+ m_addTabButton->hide();
}
else
{
if (m_tabBar->isHidden())
{
m_tabBar->show();
+ m_addTabButton->show();
}
}
}