Skip to content

Commit

Permalink
enclose field names in double quotes to prevent possible conflicts with
Browse files Browse the repository at this point in the history
reserved words
  • Loading branch information
alexbruy committed Oct 5, 2012
1 parent dca08b8 commit e975bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgssearchquerybuilder.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit e975bde

Please sign in to comment.