Skip to content

Commit 1421642

Browse files
author
jef
committed
fix #1228
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9094 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 2fb8915 commit 1421642

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgsattributetable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ void QgsAttributeTable::selectRowWithId(int id)
217217
void QgsAttributeTable::sortColumn(int col, bool ascending)
218218
{
219219
int type = horizontalHeaderItem(col)->data(QgsAttributeTable::AttributeType).toInt();
220-
qsort(0, rowCount() - 1, col, ascending, type!=QVariant::Int && type==QVariant::Double);
220+
qsort(0, rowCount() - 1, col, ascending, type!=QVariant::Int && type!=QVariant::Double);
221221
}
222222

223223

0 commit comments

Comments
 (0)