Skip to content
Permalink
Browse files
fix #1228
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9094 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 20, 2008
1 parent 2fb8915 commit 1421642650fbba487d5ccfd5b9602bfe2da5dd65
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsattributetable.cpp
@@ -217,7 +217,7 @@ void QgsAttributeTable::selectRowWithId(int id)
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);
}


0 comments on commit 1421642

Please sign in to comment.