mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
sort the values in query builder
after filling the values into the model, they are sorted ascending.
This commit is contained in:
parent
8ec16e2c20
commit
ac6d251859
@ -159,6 +159,7 @@ void QgsQueryBuilder::fillValues( int idx, int limit )
|
||||
mModelValues->insertRow( mModelValues->rowCount(), myItem );
|
||||
QgsDebugMsg( QString( "Value is null: %1\nvalue: %2" ).arg( var.isNull() ).arg( var.isNull() ? nullValue : var.toString() ) );
|
||||
}
|
||||
mModelValues->sort( 0 );
|
||||
}
|
||||
|
||||
void QgsQueryBuilder::btnSampleValues_clicked()
|
||||
|
Loading…
x
Reference in New Issue
Block a user