Skip to content
Permalink
Browse files

Give default focus to from map canvas button

  • Loading branch information
uclaros authored and nyalldawson committed Jun 17, 2020
1 parent 7bed52c commit 4df49cc26d8c0eb4a20cbbf296fd4b627c5d42e6
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/georeferencer/qgsmapcoordsdialog.cpp
@@ -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 );

0 comments on commit 4df49cc

Please sign in to comment.
You can’t perform that action at this time.