Skip to content

Commit

Permalink
Correctly show horizontal crs description only in layer properties
Browse files Browse the repository at this point in the history
horizontal crs block

Fixes #55173
  • Loading branch information
nyalldawson committed Feb 11, 2025
1 parent 1f6b159 commit 89b7a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsmaplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3438,7 +3438,7 @@ QString QgsMapLayer::crsHtmlMetadata() const

metadata += QStringLiteral( "<h1>" ) + tr( "Coordinate Reference System (CRS)" ) + QStringLiteral( "</h1>\n<hr>\n" );
metadata += QLatin1String( "<table class=\"list-view\">\n" );
addCrsInfo( crs(), true, true, true );
addCrsInfo( crs().horizontalCrs(), true, true, true );
metadata += QLatin1String( "</table>\n<br><br>\n" );

if ( verticalCrs().isValid() )
Expand Down

0 comments on commit 89b7a24

Please sign in to comment.