Skip to content

Commit 8b38b2f

Browse files
robintwnyalldawson
authored andcommitted
Make the text in the Name field of the bookmark editor dialog box automatically selected on load
This allows you to click the button to make a bookmark, and immediately start typing a name for the bookmark, without manually dragging over the text in the name field.
1 parent 4044914 commit 8b38b2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/qgsbookmarkeditordialog.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ QgsBookmarkEditorDialog::QgsBookmarkEditorDialog( QgsBookmark bookmark, bool inP
6262
connect( buttonBox, &QDialogButtonBox::helpRequested, this, &QgsBookmarkEditorDialog::showHelp );
6363

6464
mName->setFocus();
65+
mName->selectAll();
6566
}
6667

6768
void QgsBookmarkEditorDialog::crsChanged( const QgsCoordinateReferenceSystem &crs )

0 commit comments

Comments
 (0)