Skip to content

Commit

Permalink
remove extra quotes from map tips (fix #17491)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Nov 28, 2017
1 parent 0f1f24a commit 6584749
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgsvectorlayerproperties.cpp
Expand Up @@ -421,9 +421,9 @@ void QgsVectorLayerProperties::insertFieldOrExpression()
{
// Convert the selected field to an expression and
// insert it into the action at the cursor position
QString expression = QStringLiteral( "[% \"" );
QString expression = QStringLiteral( "[% " );
expression += mMapTipExpressionFieldWidget->asExpression();
expression += QLatin1String( "\" %]" );
expression += QLatin1String( " %]" );

mMapTipWidget->insertText( expression );
}
Expand Down

0 comments on commit 6584749

Please sign in to comment.