Skip to content

Commit

Permalink
Immediately set focus on name line edit after clicking "new projection"
Browse files Browse the repository at this point in the history
Since it's most likely the very next thing the user wants to edit
  • Loading branch information
nyalldawson committed Nov 7, 2017
1 parent f68e429 commit 8ae1b62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgscustomprojectiondialog.cpp
Expand Up @@ -419,6 +419,8 @@ void QgsCustomProjectionDialog::pbnAdd_clicked()
mCustomCRSids.push_back( id );
mCustomCRSparameters.push_back( parameters.toProj4() );
leNameList->setCurrentItem( newItem );
leName->selectAll();
leName->setFocus();
}

void QgsCustomProjectionDialog::pbnRemove_clicked()
Expand Down

0 comments on commit 8ae1b62

Please sign in to comment.