summaryrefslogtreecommitdiff
path: root/src/nautilus-view-model.c
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2017-03-30 17:05:19 +0200
committerCarlos Soriano <csoriano@gnome.org>2017-03-30 17:06:47 +0200
commit634bc0c67a94a68c1c0cffa83aa538276f9f82da (patch)
tree9fdb27dba0dab29567fe32d59e71626e4132244b /src/nautilus-view-model.c
parent13332ea230d72ed5acac6508c54ed5908f419271 (diff)
downloadnautilus-634bc0c67a94a68c1c0cffa83aa538276f9f82da.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
Diffstat (limited to 'src/nautilus-view-model.c')
-rw-r--r--src/nautilus-view-model.c1
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;