Skip to content

Commit

Permalink
Compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed May 26, 2015
1 parent 0c4ea1f commit e2edc54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -6577,7 +6577,7 @@ void QgisApp::pasteStyle( QgsMapLayer * destinationLayer )
QDomElement rootNode = doc.firstChildElement( "qgis" );

//Test for matching geometry type on vector layers when pasting
if (selectionLayer->type() == QgsMapLayer::LayerType::VectorLayer)
if (selectionLayer->type() == QgsMapLayer::VectorLayer)
{
QgsVectorLayer *selectionVectorLayer = static_cast<QgsVectorLayer*>(selectionLayer);
int pasteLayerGeometryType = doc.elementsByTagName("layerGeometryType").item(0).toElement().text().toInt();
Expand Down

0 comments on commit e2edc54

Please sign in to comment.