Skip to content
Permalink
Browse files

sort the values in query builder

after filling the values into the model, they are sorted ascending.
  • Loading branch information
signedav authored and m-kuhn committed Dec 14, 2017
1 parent 8ec16e2 commit ac6d251859069a7567cc2bf8cb8253f4ca84df04
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsquerybuilder.cpp
@@ -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()

0 comments on commit ac6d251

Please sign in to comment.
You can’t perform that action at this time.