File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -325,7 +325,9 @@ void QgsRasterLayerProperties::populateTransparencyTable()
325
325
// Clear existsing color transparency list
326
326
// NOTE: May want to just tableTransparency->clearContents() and fill back in after checking to be sure list and table are the same size
327
327
QString myNumberFormatter;
328
- if ( rbtnThreeBand->isChecked () && QgsRasterLayer::PalettedColor != mRasterLayer ->drawingStyle () &&
328
+ if ( tabPageSymbology &&
329
+ rbtnThreeBand->isChecked () &&
330
+ QgsRasterLayer::PalettedColor != mRasterLayer ->drawingStyle () &&
329
331
QgsRasterLayer::PalettedMultiBandColor != mRasterLayer ->drawingStyle () )
330
332
{
331
333
for ( int myTableRunner = tableTransparency->rowCount () - 1 ; myTableRunner >= 0 ; myTableRunner-- )
You can’t perform that action at this time.
0 commit comments