Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 1, 2024
1 parent 79a34fd commit 9ea1ddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/elevation/qgselevationprofilewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ QgsElevationProfileWidget::QgsElevationProfileWidget( const QString &name )

mOptionsMenu->addSeparator();

mRenameProfileAction = new QAction( tr( "Rename profile" ), this );
mRenameProfileAction = new QAction( tr( "Rename Profile…" ), this );
connect( mRenameProfileAction, &QAction::triggered, this, &QgsElevationProfileWidget::renameProfileTriggered );
mOptionsMenu->addAction( mRenameProfileAction );

Expand Down Expand Up @@ -972,7 +972,7 @@ void QgsElevationProfileWidget::axisScaleLockToggled( bool active )
void QgsElevationProfileWidget::renameProfileTriggered()
{
QgsNewNameDialog dlg( tr( "elevation profile" ), canvasName(), {}, {}, Qt::CaseSensitive, this );
dlg.setWindowTitle( tr( "Rename elevation profile" ) );
dlg.setWindowTitle( tr( "Rename Elevation Profile" ) );
dlg.setHintString( tr( "Enter a new elevation profile title" ) );
dlg.setAllowEmptyName( false );
if ( dlg.exec() == QDialog::Accepted )
Expand Down

0 comments on commit 9ea1ddb

Please sign in to comment.