diff options
| author | Serg Podtynnyi <[email protected]> | 2023-01-25 00:04:54 +0700 |
|---|---|---|
| committer | Serg Podtynnyi <[email protected]> | 2023-01-25 18:37:55 +0700 |
| commit | 96323e049c700fcd63d93f00c5b92a8ddfe0cb27 (patch) | |
| tree | 82ae2424cd60dfe61d495e7418bac2bf3e8ba280 /src/dolphinmainwindow.cpp | |
| parent | 2ae4c7aafcd1906326a5e801df113af59d67dac8 (diff) | |
Clear filter bar on clicking current folder in places
Reset the filter bar when user clicks on the current folder in places
list, also rename slot function to be more clear.
BUG: 259382
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 9f021684c..d69514b7a 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1414,6 +1414,8 @@ void DolphinMainWindow::slotPlaceActivated(const QUrl& url) DolphinViewContainer* view = activeViewContainer(); if (view->url() == url) { + view->clearFilterBar(); // Fixes bug 259382. + // We can end up here if the user clicked a device in the Places Panel // which had been unmounted earlier, see https://bugs.kde.org/show_bug.cgi?id=161385. reloadView(); |
