Skip to content

Commit b9850de

Browse files
author
g_j_m
committedJul 31, 2006
Fix for patch #67 - I think it'll solve the problem without causing
others :) git-svn-id: http://svn.osgeo.org/qgis/trunk@5652 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent cc3255c commit b9850de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/gui/qgsrasterlayerproperties.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ QgsRasterLayerProperties::QgsRasterLayerProperties(QgsMapLayer *lyr, QWidget *pa
192192
cboRed->insertItem(tr("Not Set"));
193193
cboGreen->insertItem(tr("Not Set"));
194194
cboBlue->insertItem(tr("Not Set"));
195-
cboGray->insertItem(tr("Not Set"));
195+
if (cboGray->count() != 1)
196+
cboGray->insertItem(tr("Not Set"));
196197
}
197198

198199
QString myThemePath = QgsApplication::themePath();

0 commit comments

Comments
 (0)
Please sign in to comment.