Skip to content
Permalink
Browse files

Initially set focus to text in new name dialog

(cherry-picked from 846c618)
  • Loading branch information
nyalldawson committed Apr 15, 2016
1 parent 5029834 commit ccbecb3c9d17f27e08d8c352e9885ca4e2888108
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/qgsnewnamedialog.cpp
@@ -76,6 +76,9 @@ QgsNewNameDialog::QgsNewNameDialog( const QString& source, const QString& initia
mErrorLabel->setWordWrap( true );
layout()->addWidget( mErrorLabel );

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

nameChanged();
}

0 comments on commit ccbecb3

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