diff options
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 40df2bc7d..dcf159cda 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -942,7 +942,12 @@ void DolphinViewContainer::startSearching() const QUrl url = m_searchBox->urlForSearching(); if (url.isValid() && !url.isEmpty()) { m_view->setViewPropertiesContext(QStringLiteral("search")); - m_urlNavigatorConnected->setLocationUrl(url); + // If we open a new tab that has a search assigned to it, we can't + // update the urlNavigator, since there is none connected to that tab. + // See BUG:500101 + if (m_urlNavigatorConnected) { + m_urlNavigatorConnected->setLocationUrl(url); + } } } |
