Skip to content
Permalink
Browse files
fix #2766
  • Loading branch information
jef-n committed Mar 6, 2012
1 parent c58debc commit 9843384a765e56a11a3bd81e11ac9bd49cd2c95d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsquerybuilder.cpp
@@ -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()

0 comments on commit 9843384

Please sign in to comment.