Skip to content
Permalink
Browse files

Show expression builder and checkbox in filter configuration

  • Loading branch information
m-kuhn committed Apr 9, 2018
1 parent bb91549 commit 17b537249b5d99dbdc50ece34b7a2e7f94676b3c
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/processing/qgsprocessingconfigurationwidgets.cpp
@@ -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() );

0 comments on commit 17b5372

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