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 committed Dec 22, 2011
1 parent 8b8d22e commit 4d761d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgsrasterlayerproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,8 @@ void QgsRasterLayerProperties::populateTransparencyTable()
//Clear existing 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() &&
if ( tabPageSymbology &&
rbtnThreeBand->isChecked() &&
QgsRasterLayer::PalettedColor != mRasterLayer->drawingStyle() &&
QgsRasterLayer::PalettedMultiBandColor != mRasterLayer->drawingStyle() )
{
Expand Down

0 comments on commit 4d761d0

Please sign in to comment.