diff options
| author | Elvis Angelaccio <[email protected]> | 2019-10-06 11:51:34 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2019-10-06 11:51:34 +0200 |
| commit | fcf2d98447a1103af2dae5b1da0e673a6a42122e (patch) | |
| tree | 6a6f3e8a14321e558a92d314bb0e989abb4fa5e5 /src | |
| parent | 8645ed68a15f28f37de78d0937c3a47718a7d436 (diff) | |
| parent | 31fd775f368f61f6dde54c0c3a2e83d65599c3c2 (diff) | |
Merge branch 'Applications/19.08'
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 13b88f601..41706288c 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -385,6 +385,9 @@ bool DolphinViewContainer::isFilterBarVisible() const void DolphinViewContainer::setSearchModeEnabled(bool enabled) { + m_searchBox->setVisible(enabled); + m_navigatorWidget->setVisible(!enabled); + if (enabled) { const QUrl& locationUrl = m_urlNavigator->locationUrl(); m_searchBox->fromSearchUrl(locationUrl); @@ -398,9 +401,6 @@ void DolphinViewContainer::setSearchModeEnabled(bool enabled) return; } - m_searchBox->setVisible(enabled); - m_navigatorWidget->setVisible(!enabled); - if (!enabled) { m_view->setViewPropertiesContext(QString()); |
