Skip to content
Browse files

Revert "Not sure why this was like this in the original QgsRelationEd…


This reverts commit c3411b9.
Since `addFeature()` has an argument, this should not be called directly
  • Loading branch information
suricactus committed Jan 4, 2021
1 parent 01fd983 commit 4c463d352b2b76d66b7646cd7e40d92f1896e8cf
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsbasicrelationwidget.cpp
@@ -162,7 +162,7 @@ QgsBasicRelationWidget::QgsBasicRelationWidget( const QVariantMap &config, QWidg
this, static_cast<void ( QgsBasicRelationWidget::* )( int )>( &QgsBasicRelationWidget::setViewMode ) );
connect( mToggleEditingButton, &QAbstractButton::clicked, this, &QgsBasicRelationWidget::toggleEditing );
connect( mSaveEditsButton, &QAbstractButton::clicked, this, &QgsBasicRelationWidget::saveEdits );
connect( mAddFeatureButton, &QAbstractButton::clicked, this, &QgsBasicRelationWidget::addFeature );
connect( mAddFeatureButton, &QAbstractButton::clicked, this, [this]() { addFeature(); } );
connect( mAddFeatureGeometryButton, &QAbstractButton::clicked, this, &QgsBasicRelationWidget::addFeatureGeometry );
connect( mDuplicateFeatureButton, &QAbstractButton::clicked, this, &QgsBasicRelationWidget::duplicateFeature );
connect( mDeleteFeatureButton, &QAbstractButton::clicked, this, &QgsBasicRelationWidget::deleteSelectedFeatures );

0 comments on commit 4c463d3

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