Skip to content

Commit

Permalink
[layouts] use gray icons for the items panel
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Dec 21, 2017
1 parent 0a40a81 commit 3dc5211
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
1 change: 1 addition & 0 deletions images/images.qrc
Expand Up @@ -321,6 +321,7 @@
<file>themes/default/mActionSharingExport.svg</file>
<file>themes/default/mActionSharingImport.svg</file>
<file>themes/default/mActionShowAllLayers.svg</file>
<file>themes/default/mActionShowAllLayersGray.svg</file>
<file>themes/default/mActionShowBookmarks.svg</file>
<file>themes/default/mActionShowHideLabels.svg</file>
<file>themes/default/mActionShowPinnedLabels.svg</file>
Expand Down
8 changes: 1 addition & 7 deletions images/themes/default/lockedGray.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/themes/default/mActionShowAllLayersGray.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/core/layout/qgslayoutmodel.cpp
Expand Up @@ -248,11 +248,11 @@ QVariant QgsLayoutModel::headerData( int section, Qt::Orientation orientation, i
{
if ( section == Visibility )
{
return qVariantFromValue( QgsApplication::getThemeIcon( QStringLiteral( "/mActionShowAllLayers.svg" ) ) );
return qVariantFromValue( QgsApplication::getThemeIcon( QStringLiteral( "/mActionShowAllLayersGray.svg" ) ) );
}
else if ( section == LockStatus )
{
return qVariantFromValue( QgsApplication::getThemeIcon( QStringLiteral( "/locked.svg" ) ) );
return qVariantFromValue( QgsApplication::getThemeIcon( QStringLiteral( "/lockedGray.svg" ) ) );
}

return QVariant();
Expand Down

0 comments on commit 3dc5211

Please sign in to comment.