diff options
author | Carlos Soriano <csoriano@gnome.org> | 2017-03-30 17:05:19 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2017-04-22 17:17:24 +0200 |
commit | 3cd0f3a09000937281cd6f4efba6bb930e8bfd3f (patch) | |
tree | 1e025afe4fe7900f951557b71975b7261fa76c11 | |
parent | dfb159465db817439b774d3960800bd23a375da4 (diff) | |
download | nautilus-3cd0f3a09000937281cd6f4efba6bb930e8bfd3f.tar.gz |
view-model: Don't remove files when adding items
A copy paste error from the set_items function.
https://bugzilla.gnome.org/show_bug.cgi?id=780380
-rw-r--r-- | src/nautilus-view-model.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nautilus-view-model.c b/src/nautilus-view-model.c index f45ecef96..1021caa10 100644 --- a/src/nautilus-view-model.c +++ b/src/nautilus-view-model.c @@ -269,7 +269,6 @@ nautilus_view_model_add_items (NautilusViewModel *self, array = g_malloc_n (g_queue_get_length (items), sizeof (NautilusViewItemModel *)); - g_hash_table_remove_all (self->map_files_to_model); for (l = g_queue_peek_head_link (items); l != NULL; l = l->next) { array[i] = l->data; |