Skip to content

Commit

Permalink
Show expression builder and checkbox in filter configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Apr 9, 2018
1 parent bb91549 commit 17b5372
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/processing/qgsprocessingconfigurationwidgets.cpp
Expand Up @@ -140,8 +140,8 @@ void QgsFilterAlgorithmConfigurationWidget::removeSelectedOutputs()

void QgsFilterAlgorithmConfigurationWidget::addOutput()
{
int rowIndex = mOutputExpressionWidget->rowCount() + 1;
mOutputExpressionWidget->setRowCount( rowIndex );
int rowIndex = mOutputExpressionWidget->rowCount();
mOutputExpressionWidget->setRowCount( rowIndex + 1 );
QgsExpressionLineEdit *expressionBuilder = new QgsExpressionLineEdit();
mOutputExpressionWidget->setCellWidget( rowIndex, 1, expressionBuilder );
mOutputExpressionWidget->setCellWidget( rowIndex, 2, new QCheckBox() );
Expand Down

0 comments on commit 17b5372

Please sign in to comment.