Skip to content

Commit

Permalink
Show WKB type in vector layer information tab
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 5, 2017
1 parent b5bb7df commit 8776122
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/qgsvectorlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3945,7 +3945,8 @@ QString QgsVectorLayer::htmlMetadata() const
}
else
{
QString typeString( QgsWkbTypes::geometryDisplayString( geometryType() ) );
QString typeString( QStringLiteral( "%1 (%2)" ).arg( QgsWkbTypes::geometryDisplayString( geometryType() ),
QgsWkbTypes::displayString( wkbType() ) ) );
myMetadata += QLatin1String( "<tr><td class=\"highlight\">" ) % tr( "Geometry" ) % QLatin1String( "</td><td>" ) % typeString % QLatin1String( "</td></tr>\n" );
}

Expand Down

0 comments on commit 8776122

Please sign in to comment.