Skip to content
Permalink
Browse files

Allow new shapefile MultiPoint layer creation

Just add the missing MultiPoint geometry type in the "New Shapefile Layer" dialog
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Jan 25, 2019
1 parent 8919d60 commit 8120e4a54fbc13351399404d2a4ba9c157ccaa92
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsnewvectorlayerdialog.cpp
@@ -58,6 +58,7 @@ QgsNewVectorLayerDialog::QgsNewVectorLayerDialog( QWidget *parent, Qt::WindowFla
mPrecision->setValidator( new QIntValidator( 0, 15, this ) );

mGeometryTypeBox->addItem( QgsApplication::getThemeIcon( QStringLiteral( "/mIconPointLayer.svg" ) ), tr( "Point" ), QgsWkbTypes::Point );
mGeometryTypeBox->addItem( QgsApplication::getThemeIcon( QStringLiteral( "/mIconPointLayer.svg" ) ), tr( "MultiPoint" ), QgsWkbTypes::MultiPoint );
mGeometryTypeBox->addItem( QgsApplication::getThemeIcon( QStringLiteral( "/mIconLineLayer.svg" ) ), tr( "Line" ), QgsWkbTypes::LineString );
mGeometryTypeBox->addItem( QgsApplication::getThemeIcon( QStringLiteral( "/mIconPolygonLayer.svg" ) ), tr( "Polygon" ), QgsWkbTypes::Polygon );

0 comments on commit 8120e4a

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