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
(cherry-picked from 846c618)
  • Loading branch information
nyalldawson committed Apr 15, 2016
1 parent 5029834 commit ccbecb3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/qgsnewnamedialog.cpp
Original file line number Diff line number Diff line change
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 ccbecb3

Please sign in to comment.