X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/0657b5fa78e3fce7a81aea79e1e588f19ef7c7f9..9beb44cd8a151d75d23dd5fd1dfb9208ddfdf8c4:/src/dolphinviewcontainer.cpp 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); + } } }