Skip to content
Permalink
Browse files

Show WKB type in vector layer information tab

  • Loading branch information
nyalldawson committed Sep 5, 2017
1 parent b5bb7df commit 8776122d78bab17140192d1b9e86af1ed70377a3
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/qgsvectorlayer.cpp
@@ -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" );
}

0 comments on commit 8776122

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