Skip to content
Permalink
Browse files
[ui] Fix relation editor button tooltip string and capitalization
  • Loading branch information
nirvn committed Nov 4, 2021
1 parent 9c2613c commit 0ab1bf488b3e8297beefef8adec3990bb3eb32ab
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/gui/qgsrelationeditorwidget.cpp
@@ -237,17 +237,17 @@ void QgsRelationEditorWidget::initDualView( QgsVectorLayer *layer, const QgsFeat
if ( layer->geometryType() == QgsWkbTypes::PointGeometry )
{
icon = QgsApplication::getThemeIcon( QStringLiteral( "/mActionCapturePoint.svg" ) );
text = tr( "Add Point child Feature" );
text = tr( "Add Point Child Feature" );
}
else if ( layer->geometryType() == QgsWkbTypes::LineGeometry )
{
icon = QgsApplication::getThemeIcon( QStringLiteral( "/mActionCaptureLine.svg" ) );
text = tr( "Add Line child Feature" );
text = tr( "Add Line Child Feature" );
}
else if ( layer->geometryType() == QgsWkbTypes::PolygonGeometry )
{
icon = QgsApplication::getThemeIcon( QStringLiteral( "/mActionCapturePolygon.svg" ) );
text = tr( "Add Polygon Feature" );
text = tr( "Add Polygon Child Feature" );
}

mAddFeatureGeometryButton->setIcon( icon );

0 comments on commit 0ab1bf4

Please sign in to comment.