Skip to content

Commit

Permalink
Give default focus to from map canvas button
Browse files Browse the repository at this point in the history
  • Loading branch information
uclaros authored and nyalldawson committed Jun 17, 2020
1 parent 7bed52c commit 4df49cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/georeferencer/qgsmapcoordsdialog.cpp
Expand Up @@ -38,6 +38,7 @@ QgsMapCoordsDialog::QgsMapCoordsDialog( QgsMapCanvas *qgisCanvas, const QgsPoint
mPointFromCanvasPushButton = new QPushButton( QgsApplication::getThemeIcon( "georeferencer/mPushButtonPencil.png" ), tr( "From Map Canvas" ) );
mPointFromCanvasPushButton->setCheckable( true );
buttonBox->addButton( mPointFromCanvasPushButton, QDialogButtonBox::ActionRole );
mPointFromCanvasPushButton->setFocus();

// User can input either DD or DMS coords (from QGIS mapcanvas we take DD coords)
QgsDMSAndDDValidator *validator = new QgsDMSAndDDValidator( this );
Expand Down

0 comments on commit 4df49cc

Please sign in to comment.