Navigation Menu

Skip to content

Commit

Permalink
fix #2766
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Mar 6, 2012
1 parent c58debc commit 9843384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsquerybuilder.cpp
Expand Up @@ -285,7 +285,7 @@ void QgsQueryBuilder::on_lstValues_doubleClicked( const QModelIndex &index )
else if ( value.type() == QVariant::Int || value.type() == QVariant::Double || value.type() == QVariant::LongLong )
txtSQL->insertPlainText( value.toString() );
else
txtSQL->insertPlainText( "'" + value.toString() + "'" );
txtSQL->insertPlainText( "'" + value.toString().replace( "'", "''" ) + "'" );
}

void QgsQueryBuilder::on_btnLessEqual_clicked()
Expand Down

0 comments on commit 9843384

Please sign in to comment.