Skip to content
Permalink
Browse files

Merge pull request #2655 from SebDieBln/FixButtonLockLayerColors

[SymbolSelector] Display correct icons when button LockLayerColors is active (fixes #14051)
  • Loading branch information
nyalldawson committed Jan 9, 2016
2 parents 8fc9994 + 9af7986 commit f3d1f8b8dc69d13244eb2fd7dec70012b02620b6
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 f3d1f8b

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