Skip to content
Permalink
Browse files
[ui] Fix relation editor button tooltip string and capitalization
  • Loading branch information
nirvn authored and github-actions committed Nov 4, 2021
1 parent 3a97d92 commit a3145917f7e0af171cce57944d238ef5172fd181
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 a314591

Please sign in to comment.