diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-01-29 14:24:28 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-02-02 22:22:37 +0100 |
commit | 795c0402155f883de8316cff6fc7835e9f3ea14e (patch) | |
tree | e4d891a213199b042bb22d72c96132850eaf4bce /src/nautilus-query-editor.c | |
parent | d895822c5b7d49a1991238d06828597673d37b2c (diff) | |
download | nautilus-795c0402155f883de8316cff6fc7835e9f3ea14e.tar.gz |
query-editor: update query location
We need to update the query location when the user changes
the location and the slot acknowledge it.
If we don't do it, next time a search is done the simple engine will use
the previous location.
Diffstat (limited to 'src/nautilus-query-editor.c')
-rw-r--r-- | src/nautilus-query-editor.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nautilus-query-editor.c b/src/nautilus-query-editor.c index 22aa49092..4ff13cabf 100644 --- a/src/nautilus-query-editor.c +++ b/src/nautilus-query-editor.c @@ -529,6 +529,9 @@ nautilus_query_editor_set_location (NautilusQueryEditor *editor, should_notify = g_set_object (&priv->location, location); } + if (priv->query) + nautilus_query_set_location (priv->query, priv->location); + /* Update label if needed */ if (priv->location) { NautilusFile *file; |