┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphintabpage.cpp
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2014-07-16 09:12:16 +0200
committerFrank Reininghaus <[email protected]>2014-07-16 09:12:16 +0200
commit7cb193de1074e226b6fb3fe0f71da577b54f3589 (patch)
treedb03e0ec9b467be629922825b20ae30ded07bc11 /src/dolphintabpage.cpp
parent00754dda30dc3982d3e8edc5996cdb11b62fd99d (diff)
Fix regression concerning the "Places" selector in the location bar
This commit ensures that the selector is visible in all location bars if and only if the Places Panel is hidden. It fixes a regression caused by commit 6a98d83312ff2b14ab878e1427bbace3b683eacc. BUG: 337389 FIXED-IN: 4.14.0 REVIEW: 119238
Diffstat (limited to 'src/dolphintabpage.cpp')
-rw-r--r--src/dolphintabpage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dolphintabpage.cpp b/src/dolphintabpage.cpp
index c8e426335..82be6d59c 100644
--- a/src/dolphintabpage.cpp
+++ b/src/dolphintabpage.cpp
@@ -76,6 +76,10 @@ void DolphinTabPage::setSplitViewEnabled(bool enabled)
if (enabled) {
const KUrl& url = m_primaryViewContainer->url();
m_secondaryViewContainer = createViewContainer(url);
+
+ const bool placesSelectorVisible = m_primaryViewContainer->urlNavigator()->isPlacesSelectorVisible();
+ m_secondaryViewContainer->urlNavigator()->setPlacesSelectorVisible(placesSelectorVisible);
+
m_splitter->addWidget(m_secondaryViewContainer);
m_secondaryViewContainer->show();
m_secondaryViewContainer->setActive(true);