summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
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();
}
}
}