diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-01-09 17:55:04 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-01-09 17:55:04 +0100 |
commit | b76f7e59e6fbee2cd6fdcbb9eb70268a00d580c7 (patch) | |
tree | 339456bd58416785fc6b5a8c30432797001ff4d3 | |
parent | rekonq 0.6.60 (diff) | |
download | rekonq-b76f7e59e6fbee2cd6fdcbb9eb70268a00d580c7.tar.xz |
Fix the always opened tabbar feature.
Felix Rohrbach's fix
Thanks :)
PS: plus a correction in previous UI by me
-rw-r--r-- | src/mainview.cpp | 4 | ||||
-rw-r--r-- | src/settings/settings_tabs.ui | 7 |
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 290c6274..01e885eb 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> |