We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 0c4ea1f commit e2edc54Copy full SHA for e2edc54
src/app/qgisapp.cpp
@@ -6577,7 +6577,7 @@ void QgisApp::pasteStyle( QgsMapLayer * destinationLayer )
6577
QDomElement rootNode = doc.firstChildElement( "qgis" );
6578
6579
//Test for matching geometry type on vector layers when pasting
6580
- if (selectionLayer->type() == QgsMapLayer::LayerType::VectorLayer)
+ if (selectionLayer->type() == QgsMapLayer::VectorLayer)
6581
{
6582
QgsVectorLayer *selectionVectorLayer = static_cast<QgsVectorLayer*>(selectionLayer);
6583
int pasteLayerGeometryType = doc.elementsByTagName("layerGeometryType").item(0).toElement().text().toInt();
0 commit comments