Skip to content

Commit

Permalink
fix #4647 (introduced in 3b9b2d - track backports please)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n authored and alexbruy committed Dec 22, 2011
1 parent 9322a78 commit b628146
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/qgsrasterlayerproperties.cpp
Expand Up @@ -325,7 +325,9 @@ void QgsRasterLayerProperties::populateTransparencyTable()
//Clear existsing color transparency list
//NOTE: May want to just tableTransparency->clearContents() and fill back in after checking to be sure list and table are the same size
QString myNumberFormatter;
if ( rbtnThreeBand->isChecked() && QgsRasterLayer::PalettedColor != mRasterLayer->drawingStyle() &&
if ( tabPageSymbology &&
rbtnThreeBand->isChecked() &&
QgsRasterLayer::PalettedColor != mRasterLayer->drawingStyle() &&
QgsRasterLayer::PalettedMultiBandColor != mRasterLayer->drawingStyle() )
{
for ( int myTableRunner = tableTransparency->rowCount() - 1; myTableRunner >= 0; myTableRunner-- )
Expand Down

0 comments on commit b628146

Please sign in to comment.