summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainview.cpp4
-rw-r--r--src/settings/settings_tabs.ui7
2 files changed, 11 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();
diff --git a/src/settings/settings_tabs.ui b/src/settings/settings_tabs.ui
index 29b7377f..dd340700 100644
--- a/src/settings/settings_tabs.ui
+++ b/src/settings/settings_tabs.ui
@@ -184,6 +184,13 @@
</layout>
</item>
<item>
+ <widget class="QCheckBox" name="kcfg_alwaysShowTabBar">
+ <property name="text">
+ <string>Always show tab bar</string>
+ </property>
+ </widget>
+ </item>
+ <item>
<widget class="QCheckBox" name="kcfg_openTabNoWindow">
<property name="text">
<string>Open links in new tab instead of in new window</string>