Skip to content

Commit

Permalink
Followup 204cf7, more sensible truncation of preview string
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 18, 2015
1 parent 183286a commit 4797228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsexpressionbuilderwidget.cpp
Expand Up @@ -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 ) );
}
Expand Down

1 comment on commit 4797228

@3nids
Copy link
Member

@3nids 3nids commented on 4797228 May 19, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:)

Please sign in to comment.