Skip to content
Permalink
Browse files
Populate transparency table when loading qml style for raster
 layer
  • Loading branch information
manisandro committed Apr 9, 2014
1 parent 5f19830 commit b3088e0331ca70f7779abaad255d2d278911122a
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgsrasterlayerproperties.cpp
@@ -1604,6 +1604,7 @@ void QgsRasterLayerProperties::on_pbnLoadDefaultStyle_clicked()
setRendererWidget( renderer->type() );
}
mRasterLayer->triggerRepaint();
populateTransparencyTable( mRasterLayer->renderer() );
}
else
{
@@ -1661,6 +1662,7 @@ void QgsRasterLayerProperties::on_pbnLoadStyle_clicked()
setRendererWidget( renderer->type() );
}
mRasterLayer->triggerRepaint();
populateTransparencyTable( mRasterLayer->renderer() );
}
else
{
@@ -1738,3 +1740,4 @@ bool QgsRasterLayerProperties::rasterIsMultiBandColor()
return mRasterLayer && dynamic_cast<QgsMultiBandColorRenderer*>( mRasterLayer->renderer() ) != 0;
}


0 comments on commit b3088e0

Please sign in to comment.