Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Populate transparency table when loading qml style for raster
 layer
  • Loading branch information
manisandro committed Apr 9, 2014
1 parent 5f19830 commit b3088e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/qgsrasterlayerproperties.cpp
Expand Up @@ -1604,6 +1604,7 @@ void QgsRasterLayerProperties::on_pbnLoadDefaultStyle_clicked()
setRendererWidget( renderer->type() );
}
mRasterLayer->triggerRepaint();
populateTransparencyTable( mRasterLayer->renderer() );
}
else
{
Expand Down Expand Up @@ -1661,6 +1662,7 @@ void QgsRasterLayerProperties::on_pbnLoadStyle_clicked()
setRendererWidget( renderer->type() );
}
mRasterLayer->triggerRepaint();
populateTransparencyTable( mRasterLayer->renderer() );
}
else
{
Expand Down Expand Up @@ -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.