Skip to content
Permalink
Browse files

Merge pull request #34270 from elpaso/bugfix-gh34269-pg-merge-features

Fix merge features with PG tables
  • Loading branch information
elpaso committed Feb 5, 2020
2 parents 4fb42ae + 9b99dab commit 2e766b6a4708150cc86f7b7ed29137d52c1445b6
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/app/qgsmergeattributesdialog.cpp
@@ -170,12 +170,6 @@ void QgsMergeAttributesDialog::createTableWidgetContents()
mTableWidget->setItem( mTableWidget->rowCount() - 1, j, mergedItem );
}

//insert currently merged values
for ( int i = 0; i < mTableWidget->columnCount(); ++i )
{
refreshMergedValue( i );
}

//initially set any fields with default values/default value clauses to that value
for ( int j = 0; j < mTableWidget->columnCount(); j++ )
{
@@ -207,6 +201,12 @@ void QgsMergeAttributesDialog::createTableWidgetContents()
}
}

//insert currently merged values
for ( int i = 0; i < mTableWidget->columnCount(); ++i )
{
refreshMergedValue( i );
}

}

QComboBox *QgsMergeAttributesDialog::createMergeComboBox( QVariant::Type columnType ) const

0 comments on commit 2e766b6

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