We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04e3796 commit d5d3eeeCopy full SHA for d5d3eee
src/gui/qgsattributeform.cpp
@@ -754,7 +754,11 @@ bool QgsAttributeForm::currentFormFeature( QgsFeature &feature )
754
Q_FOREACH ( QgsWidgetWrapper* ww, mWidgets )
755
{
756
QgsEditorWidgetWrapper* eww = qobject_cast<QgsEditorWidgetWrapper*>( ww );
757
- if ( eww && dst.count() > eww->fieldIdx() )
+
758
+ if ( !eww )
759
+ continue;
760
761
+ if ( dst.count() > eww->fieldIdx() )
762
763
QVariant dstVar = dst.at( eww->fieldIdx() );
764
QVariant srcVar = eww->value();
0 commit comments