Skip to content
Permalink
Browse files

[SymbolSelector] display correct icons when button LockLayerColors is…

… active

(fixes #14051)
  • Loading branch information
SebDieBln committed Jan 8, 2016
1 parent acf7493 commit 9af798620425c99af7f6abf1f8bf6cff5b90f4ad
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/symbology-ng/qgssymbolv2selectordialog.cpp
@@ -238,7 +238,9 @@ QgsSymbolV2SelectorDialog::QgsSymbolV2SelectorDialog( QgsSymbolV2* symbol, QgsSt
btnRemoveLayer->setIcon( QIcon( QgsApplication::iconPath( "symbologyRemove.svg" ) ) );
QIcon iconLock;
iconLock.addFile( QgsApplication::iconPath( "locked.svg" ), QSize(), QIcon::Normal, QIcon::On );
iconLock.addFile( QgsApplication::iconPath( "locked.svg" ), QSize(), QIcon::Active, QIcon::On );
iconLock.addFile( QgsApplication::iconPath( "unlocked.svg" ), QSize(), QIcon::Normal, QIcon::Off );
iconLock.addFile( QgsApplication::iconPath( "unlocked.svg" ), QSize(), QIcon::Active, QIcon::Off );
btnLock->setIcon( iconLock );
btnDuplicate->setIcon( QIcon( QgsApplication::iconPath( "mActionDuplicateLayer.svg" ) ) );
btnUp->setIcon( QIcon( QgsApplication::iconPath( "symbologyUp.svg" ) ) );

0 comments on commit 9af7986

Please sign in to comment.
You can’t perform that action at this time.