mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Compilation fix
This commit is contained in:
parent
0c4ea1f6e5
commit
e2edc54f11
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user