We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent d652a80 commit 5e240b8Copy full SHA for 5e240b8
src/gui/qgsattributeform.cpp
@@ -137,6 +137,11 @@ bool QgsAttributeForm::save()
137
{
138
bool doUpdate = false;
139
140
+ // An add dialog should perform an action by default
141
+ // and not only if attributes have "changed"
142
+ if ( mIsAddDialog )
143
+ doUpdate = true;
144
+
145
QgsAttributes src = mFeature.attributes();
146
QgsAttributes dst = mFeature.attributes();
147
0 commit comments