Skip to content

Commit

Permalink
Adds better Layer panel indicator for noCRS
Browse files Browse the repository at this point in the history
  • Loading branch information
SrNetoChan authored and nyalldawson committed Oct 13, 2019
1 parent 9dc367a commit 0eff373
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions images/images.qrc
Expand Up @@ -780,6 +780,7 @@
<file>themes/default/mIconArrangeSymbolsRight.svg</file>
<file>themes/default/mIconClearItem.svg</file>
<file>themes/default/mIndicatorLayerError.svg</file>
<file>themes/default/mIndicatorNoCRS.svg</file>
<file>themes/default/mActionShowUnplacedLabel.svg</file>
<file>themes/default/mActionHandleStoreFilterExpressionChecked.svg</file>
<file>themes/default/mActionHandleStoreFilterExpressionUnchecked.svg</file>
Expand Down
1 change: 1 addition & 0 deletions images/themes/default/mIndicatorNoCRS.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/app/qgslayertreeviewnocrsindicator.cpp
Expand Up @@ -56,7 +56,7 @@ bool QgsLayerTreeViewNoCrsIndicatorProvider::acceptLayer( QgsMapLayer *layer )
QString QgsLayerTreeViewNoCrsIndicatorProvider::iconName( QgsMapLayer *layer )
{
Q_UNUSED( layer )
return QStringLiteral( "/mIconProjectionDisabled.svg" );
return QStringLiteral( "/mIndicatorNoCRS.svg" );
}

QString QgsLayerTreeViewNoCrsIndicatorProvider::tooltipText( QgsMapLayer *layer )
Expand Down

0 comments on commit 0eff373

Please sign in to comment.