Skip to content

Commit

Permalink
[ui] Fix relation editor button tooltip string and capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Nov 4, 2021
1 parent 9c2613c commit 0ab1bf4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gui/qgsrelationeditorwidget.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 0ab1bf4

Please sign in to comment.