Skip to content
Permalink
Browse files

fix NULL support in attribute editor

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15057 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Jan 19, 2011
1 parent 0c50887 commit 2b71f62c58b3a7068d82a1304a03fa31299fe646
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/gui/qgsattributeeditor.cpp
@@ -558,7 +558,7 @@ bool QgsAttributeEditor::retrieveValue( QWidget *widget, QgsVectorLayer *vl, int
}
else if ( modified )
{
value = QVariant( theField.type() );
value = QVariant();
}
}
break;
@@ -573,7 +573,7 @@ bool QgsAttributeEditor::retrieveValue( QWidget *widget, QgsVectorLayer *vl, int
}
else if ( modified )
{
value = QVariant( theField.type() );
value = QVariant();
}
}
case QVariant::Double:
@@ -587,7 +587,7 @@ bool QgsAttributeEditor::retrieveValue( QWidget *widget, QgsVectorLayer *vl, int
}
else if ( modified )
{
value = QVariant( theField.type() );
value = QVariant();
}
}
break;
@@ -601,7 +601,7 @@ bool QgsAttributeEditor::retrieveValue( QWidget *widget, QgsVectorLayer *vl, int
}
else if ( modified )
{
value = QVariant( theField.type() );
value = QVariant();
}
}
break;

0 comments on commit 2b71f62

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