Skip to content

Commit

Permalink
fix NULL support in attribute editor
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@15057 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jan 19, 2011
1 parent 97149ed commit 8233464
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gui/qgsattributeeditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ bool QgsAttributeEditor::retrieveValue( QWidget *widget, QgsVectorLayer *vl, int
}
else if ( modified )
{
value = QVariant( theField.type() );
value = QVariant();
}
}
break;
Expand All @@ -573,7 +573,7 @@ bool QgsAttributeEditor::retrieveValue( QWidget *widget, QgsVectorLayer *vl, int
}
else if ( modified )
{
value = QVariant( theField.type() );
value = QVariant();
}
}
case QVariant::Double:
Expand All @@ -587,7 +587,7 @@ bool QgsAttributeEditor::retrieveValue( QWidget *widget, QgsVectorLayer *vl, int
}
else if ( modified )
{
value = QVariant( theField.type() );
value = QVariant();
}
}
break;
Expand All @@ -601,7 +601,7 @@ bool QgsAttributeEditor::retrieveValue( QWidget *widget, QgsVectorLayer *vl, int
}
else if ( modified )
{
value = QVariant( theField.type() );
value = QVariant();
}
}
break;
Expand Down

0 comments on commit 8233464

Please sign in to comment.