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.
parent cd266cb8
......@@ -739,7 +739,7 @@ gtk_file_system_model_sort (GtkFileSystemModel *model)
new_order[r] = node->row;
new_order[r] = node->row - 1;
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