We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent a6148de commit 2835cadCopy full SHA for 2835cad
src/gui/symbology-ng/qgssymbolselectordialog.cpp
@@ -191,6 +191,16 @@ class SymbolLayerItem : public QStandardItem
191
}
192
193
194
+ else if ( role == Qt::ForegroundRole && mIsLayer )
195
+ {
196
+ QBrush brush( Qt::black, Qt::SolidPattern );
197
+ if ( !mLayer->enabled() )
198
199
+ brush.setColor( Qt::lightGray );
200
+ }
201
+ return brush;
202
203
+
204
// if ( role == Qt::SizeHintRole )
205
// return QVariant( QSize( 32, 32 ) );
206
if ( role == Qt::CheckStateRole )
0 commit comments