]> cloud.milkyroute.net Git - dolphin.git/commit
Update searchbox on URL changes (Fix D24369)
authorIsmael Asensio <isma.af@mgmail.com>
Thu, 3 Oct 2019 20:00:24 +0000 (22:00 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Thu, 3 Oct 2019 20:05:13 +0000 (22:05 +0200)
commit8599a42ac13e2af6f085d899380aee7714ae28c2
tree07ba3bb859f9696475e85dbc27af49fcd2b7d741
parentb3120cb90e3d1dd5f4eef13e93378ccb1d01d098
Update searchbox on URL changes (Fix D24369)

Summary:
In D24369 I introduced a regression: Where now the searchbox is updated on url changes for search urls, it is not updated anymore for regular folders. The effect is that not-indexed folders can have the extra options enabled or vice-versa. This patch fixes it, moving back the updating logic to `setSearchModeEnable`.

Test Plan: - Searchbox updates properly when changing between search urls and regular folders, either indexed or nor-indexed.

Reviewers: #dolphin, elvisangelaccio

Subscribers: kfm-devel, elvisangelaccio

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D24376
src/dolphinviewcontainer.cpp