Skip to content
Permalink
Browse files

Followup 204cf7, more sensible truncation of preview string

  • Loading branch information
nyalldawson committed May 18, 2015
1 parent 183286a commit 4797228047ef329a026b382b4f6e7c12fc8773af
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsexpressionbuilderwidget.cpp
@@ -511,7 +511,7 @@ void QgsExpressionBuilderWidget::on_txtExpressionString_textChanged()

QString QgsExpressionBuilderWidget::formatPreviewString( const QString& previewString ) const
{
if ( previewString.length() > 60 )
if ( previewString.length() > 63 )
{
return QString( tr( "%1..." ) ).arg( previewString.left( 60 ) );
}

1 comment on commit 4797228

@3nids

This comment has been minimized.

Copy link
Member

3nids commented on 4797228 May 19, 2015

:)

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