┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2014-02-07 10:26:00 +0100
committerFrank Reininghaus <[email protected]>2014-02-07 10:26:00 +0100
commit016cf47c53c28aa57cf58c37d5acdcfce0bc47b0 (patch)
tree1f8cb69660cb38f7c5ae0f32d0f8d26ad383197d /src/dolphinmainwindow.cpp
parentbb22ac0a4745b63ac02d72d176b93bc3f2b84ca0 (diff)
parent75c0f240200c2ee06d5f46893b9e55f51b870881 (diff)
Merge remote-tracking branch 'origin/KDE/4.12'
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index a4dbb6f34..847301434 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -677,6 +677,13 @@ void DolphinMainWindow::readProperties(const KConfigGroup& group)
Q_ASSERT(cont);
}
+ // The right view must be activated before the URL is set. Changing
+ // the URL in the right view will emit the right URL navigator's
+ // urlChanged(KUrl) signal, which is connected to the changeUrl(KUrl)
+ // slot. That slot will change the URL in the left view if it is still
+ // active. See https://bugs.kde.org/show_bug.cgi?id=330047.
+ setActiveViewContainer(cont);
+
cont->setUrl(secondaryUrl);
const bool editable = group.readEntry(tabProperty("Secondary Editable", i), false);
cont->urlNavigator()->setUrlEditable(editable);