Skip to content
Permalink
Browse files

Hide raster options for non-WMS/WMTS layers

  • Loading branch information
mhugent committed Oct 24, 2017
1 parent 97ad01b commit 87cdc36d6b143ac3039a16e8c2f3c6567e1b4c43
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/app/qgsrasterlayerproperties.cpp
@@ -410,6 +410,13 @@ QgsRasterLayerProperties::QgsRasterLayerProperties( QgsMapLayer *lyr, QgsMapCanv
mBandRenderingGrpBx->setSizePolicy( sizep );
mBandRenderingGrpBx->updateGeometry();
}

if ( mRasterLayer->providerType() != QStringLiteral( "wms" ) )
{
mWMSPrintGroupBox->hide();
mPublishDataSourceUrlCheckBox->hide();
mBackgroundLayerCheckBox->hide();
}
}

mRenderTypeComboBox_currentIndexChanged( widgetIndex );

0 comments on commit 87cdc36

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