mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-12 00:02:25 -04:00
Fix layer legend drop indicators; restore painter state after layer mark
This commit is contained in:
parent
7ac02ae881
commit
ff77edca44
@ -91,6 +91,8 @@ void QgsLayerTreeViewItemDelegate::paint( QPainter *painter, const QStyleOptionV
|
||||
painter->setPen( QPen( Qt::NoPen ) );
|
||||
painter->setBrush( QBrush( opt.palette.mid() ) );
|
||||
painter->drawRect( mRect );
|
||||
painter->setBrush( pb );
|
||||
painter->setPen( pp );
|
||||
|
||||
const QList<QgsLayerTreeViewIndicator *> indicators = mLayerTreeView->indicators( node );
|
||||
if ( indicators.isEmpty() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user