Commit 42abeadb authored by Benjamin Otte's avatar Benjamin Otte

Can't select file on file browser after changing sort order

The row values are 1-indexed not 0-indexed, this has to be taken into
account when producing the new_order array.

https://bugzilla.gnome.org/show_bug.cgi?id=621414
parent cd266cb8
......@@ -739,7 +739,7 @@ gtk_file_system_model_sort (GtkFileSystemModel *model)
continue;
}
new_order[r] = node->row;
new_order[r] = node->row - 1;
r++;
node->row = r;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment