Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow new shapefile MultiPoint layer creation
Just add the missing MultiPoint geometry type in the "New Shapefile Layer" dialog

(cherry picked from commit 8120e4a)
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Jan 29, 2019
1 parent c05c2c7 commit e9ae431
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsnewvectorlayerdialog.cpp
Expand Up @@ -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 );

Expand Down

0 comments on commit e9ae431

Please sign in to comment.