diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-01-31 17:41:25 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-02-02 22:22:38 +0100 |
commit | fe3ee68db3409ba04b20a3192bd064250f1412ca (patch) | |
tree | e7fe5625a7e8d05a1b2db026f65f30307df40f55 | |
parent | a2e235e1cb512ebf0570f2957e190acff784747c (diff) | |
download | nautilus-fe3ee68db3409ba04b20a3192bd064250f1412ca.tar.gz |
search-popover: update the switch when there is query
We need to update the switch also when there is already a query,
since the query can change location and we would want to update
the backing setting to reflect if the file is remote or not.
-rw-r--r-- | src/nautilus-search-popover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-search-popover.c b/src/nautilus-search-popover.c index 818fc5104..bcbbdc6e5 100644 --- a/src/nautilus-search-popover.c +++ b/src/nautilus-search-popover.c @@ -302,7 +302,7 @@ static void update_recursive_switch (NautilusSearchPopover *popover, GFile *location) { - if (!popover->query && location) + if (location) { NautilusFile *file; gboolean active; |