We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9679c5a commit 1fb00d5Copy full SHA for 1fb00d5
src/app/legend/qgslegendlayer.cpp
@@ -439,7 +439,7 @@ QPixmap QgsLegendLayer::getOriginalPixmap() const
439
if ( firstLayer->type() == QgsMapLayer::VectorLayer )
440
{
441
QgsVectorLayer* vlayer = dynamic_cast<QgsVectorLayer*>( firstLayer );
442
- switch ( vlayer->type() )
+ switch ( vlayer->geometryType() )
443
444
case QGis::Point:
445
return QgisApp::getThemePixmap( "/mIconPointLayer.png" );
0 commit comments