Skip to content

Commit

Permalink
Initially set focus to text in new name dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 7, 2016
1 parent 39d0ba5 commit 846c618
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/qgsnewnamedialog.cpp
Expand Up @@ -76,6 +76,9 @@ QgsNewNameDialog::QgsNewNameDialog( const QString& source, const QString& initia
mErrorLabel->setWordWrap( true );
layout()->addWidget( mErrorLabel );

mLineEdit->setFocus();
mLineEdit->selectAll();

nameChanged();
}

Expand Down

0 comments on commit 846c618

Please sign in to comment.