Skip to content
Permalink
Browse files

Merge pull request #1315 from manisandro/populate_transparency_table

Populate transparency table when loading qml style for raster layer - Fix #10565
  • Loading branch information
NathanW2 committed Jun 12, 2014
2 parents da99331 + b3088e0 commit 796c6a33c06fe3b32313ababa5e866aa9c3d48a9
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgsrasterlayerproperties.cpp
@@ -1599,6 +1599,7 @@ void QgsRasterLayerProperties::on_pbnLoadDefaultStyle_clicked()
setRendererWidget( renderer->type() );
}
mRasterLayer->triggerRepaint();
populateTransparencyTable( mRasterLayer->renderer() );
}
else
{
@@ -1659,6 +1660,7 @@ void QgsRasterLayerProperties::on_pbnLoadStyle_clicked()
setRendererWidget( renderer->type() );
}
mRasterLayer->triggerRepaint();
populateTransparencyTable( mRasterLayer->renderer() );
}
else
{
@@ -1728,3 +1730,4 @@ bool QgsRasterLayerProperties::rasterIsMultiBandColor()
return mRasterLayer && dynamic_cast<QgsMultiBandColorRenderer*>( mRasterLayer->renderer() ) != 0;
}


0 comments on commit 796c6a3

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