Skip to content

Commit

Permalink
GDAL provider identify no data fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Apr 16, 2013
1 parent e0a70f4 commit d6e5960
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/providers/gdal/qgsgdalprovider.cpp
Expand Up @@ -986,7 +986,10 @@ QgsRasterIdentifyResult QgsGdalProvider::identify( const QgsPoint & thePoint, Id
{
results.insert( i, QVariant() ); // null QVariant represents no data
}
results.insert( i, value );
else
{
results.insert( i, value );
}
}
return QgsRasterIdentifyResult( QgsRasterDataProvider::IdentifyFormatValue, results );
}
Expand Down

0 comments on commit d6e5960

Please sign in to comment.