Merge pull request #59960 from GispoCoding/59494_db_default_values

Merge features: immediately update widgets for attributes with a provider default value
This commit is contained in:
Matthias Kuhn 2025-01-13 19:48:34 +01:00 committed by GitHub
commit 9f055dd565
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -267,6 +267,11 @@ void QgsMergeAttributesDialog::createTableWidgetContents()
currentComboBox->setCurrentIndex( currentComboBox->findData( QStringLiteral( "manual" ) ) );
currentComboBox->blockSignals( false );
}
const QgsEditorWidgetSetup setup = mFields.at( idx ).editorWidgetSetup();
if ( !setup.isNull() && !setup.type().isEmpty() )
updateManualWidget( j, true );
}
}