changeset 1536:b1e622788c4a

Just update the internal sort method There is no other use of the internal sort method than speeding up the sorting of a collection. So setting it to SORT_NONE is the better choice.
author mow
date Fri, 10 Apr 2009 13:54:08 +0000
parents 760f585d9fa0
children d9e918eb917c
files src/collect.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/collect.c	Fri Apr 10 13:44:37 2009 +0000
+++ b/src/collect.c	Fri Apr 10 13:54:08 2009 +0000
@@ -606,6 +606,7 @@
 	if (!cd) return;
 
 	cd->list = collection_list_randomize(cd->list);
+	cd->sort_method = SORT_NONE;
 	if (cd->list) cd->changed = TRUE;
 
 	collection_window_refresh(collection_window_find(cd));