Author: jflesch
Date: 2007-01-27 21:04:44 +0000 (Sat, 27 Jan 2007)
New Revision: 11635
Modified:
trunk/apps/Thaw/src/thaw/plugins/index/FileTable.java
Log:
Fix file list ordering : can't order by transfer state
Modified: trunk/apps/Thaw/src/thaw/plugins/index/FileTable.java
===================================================================
--- trunk/apps/Thaw/src/thaw/plugins/index/FileTable.java 2007-01-27
21:01:08 UTC (rev 11634)
+++ trunk/apps/Thaw/src/thaw/plugins/index/FileTable.java 2007-01-27
21:04:44 UTC (rev 11635)
@@ -302,7 +302,8 @@
{
"filename",
"size",
- "key"
+ "key",
+ null
};
@@ -573,6 +574,11 @@
if (modelIndex < 0)
return;
+ if (modelIndex == 2) {
+ Logger.notice("Can't order by transfer state
because of performances issues");
+ return;
+ }
+
if (columnToSort == modelIndex)
sortAsc = !sortAsc;
else {