[QGIS Commit] r9094 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Aug 20 10:33:03 EDT 2008


Author: jef
Date: 2008-08-20 10:33:03 -0400 (Wed, 20 Aug 2008)
New Revision: 9094

Modified:
   trunk/qgis/src/app/qgsattributetable.cpp
Log:
fix #1228

Modified: trunk/qgis/src/app/qgsattributetable.cpp
===================================================================
--- trunk/qgis/src/app/qgsattributetable.cpp	2008-08-20 12:31:37 UTC (rev 9093)
+++ trunk/qgis/src/app/qgsattributetable.cpp	2008-08-20 14:33:03 UTC (rev 9094)
@@ -217,7 +217,7 @@
 void QgsAttributeTable::sortColumn(int col, bool ascending)
 {
   int type = horizontalHeaderItem(col)->data(QgsAttributeTable::AttributeType).toInt();
-  qsort(0, rowCount() - 1, col, ascending, type!=QVariant::Int && type==QVariant::Double);
+  qsort(0, rowCount() - 1, col, ascending, type!=QVariant::Int && type!=QVariant::Double);
 }
 
 



More information about the QGIS-commit mailing list