Skip to content

Commit

Permalink
fix #1228
Browse files Browse the repository at this point in the history
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 1421642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsattributetable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit 1421642

Please sign in to comment.