Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Rename button copy all -> copy
  • Loading branch information
YoannQDQ committed Apr 17, 2023
1 parent 972e052 commit 246cb5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgsmeasuredialog.cpp
Expand Up @@ -57,8 +57,8 @@ QgsMeasureDialog::QgsMeasureDialog( QgsMeasureTool *tool, Qt::WindowFlags f )

if ( !mMeasureArea )
{
QAction *copyAction = new QAction( tr( "Copy &All" ), this );
QPushButton *cpb = new QPushButton( tr( "Copy &All" ) );
QAction *copyAction = new QAction( tr( "Copy" ), this );
QPushButton *cpb = new QPushButton( tr( "Copy" ) );
buttonBox->addButton( cpb, QDialogButtonBox::ActionRole );
connect( cpb, &QAbstractButton::clicked, copyAction, &QAction::trigger );
connect( copyAction, &QAction::triggered, this, &QgsMeasureDialog::copyMeasurements );
Expand Down

0 comments on commit 246cb5f

Please sign in to comment.