Skip to content
Permalink
Browse files

enclose field names in double quotes to prevent possible conflicts with

reserved words
  • Loading branch information
alexbruy committed Oct 5, 2012
1 parent dca08b8 commit e975bde3f486beb96c9d8f9189ce57056c777562
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgssearchquerybuilder.cpp
@@ -314,7 +314,7 @@ void QgsSearchQueryBuilder::setSearchString( QString searchString )

void QgsSearchQueryBuilder::on_lstFields_doubleClicked( const QModelIndex &index )
{
txtSQL->insertPlainText( mModelFields->data( index ).toString() );
txtSQL->insertPlainText( "\"" + mModelFields->data( index ).toString() + "\"" );
}

void QgsSearchQueryBuilder::on_lstValues_doubleClicked( const QModelIndex &index )

0 comments on commit e975bde

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