Skip to content

Commit

Permalink
old Qgis2.18 slot in QgsAttributeFormlegacyInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and nyalldawson committed Apr 21, 2020
1 parent 4958ac7 commit 8cbd1e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsattributeformlegacyinterface.cpp
Expand Up @@ -51,8 +51,8 @@ void QgsAttributeFormLegacyInterface::featureChanged()
{
// If the init function did not call disconnect, we do it here before reconnecting
// If it did call disconnect, then the call will just do nothing
QObject::disconnect( buttonBox, SIGNAL( accepted() ), form(), SLOT( accept() ) );
QObject::connect( buttonBox, SIGNAL( accepted() ), form(), SLOT( accept() ) );
QObject::disconnect( buttonBox, &QDialogButtonBox::accepted, form(), &QgsAttributeForm::save );
QObject::connect( buttonBox, &QDialogButtonBox::accepted, form(), &QgsAttributeForm::save );
}

// Generate the unique ID of this feature. We used to use feature ID but some providers
Expand Down

0 comments on commit 8cbd1e4

Please sign in to comment.