Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix stats dock not working with field names with spaces (fix #14541)
  • Loading branch information
nyalldawson committed Mar 29, 2016
1 parent af8c166 commit 53b493c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsstatisticalsummarydockwidget.cpp
Expand Up @@ -107,7 +107,7 @@ QgsStatisticalSummaryDockWidget::~QgsStatisticalSummaryDockWidget()

void QgsStatisticalSummaryDockWidget::refreshStatistics()
{
if ( !mLayer || !mFieldExpressionWidget->isValidExpression() )
if ( !mLayer || ( mFieldExpressionWidget->isExpression() && !mFieldExpressionWidget->isValidExpression() ) )
{
mStatisticsTable->setRowCount( 0 );
return;
Expand Down

0 comments on commit 53b493c

Please sign in to comment.