Skip to content
Permalink
Browse files

Initially set focus to text in new name dialog

  • Loading branch information
nyalldawson committed Apr 7, 2016
1 parent 39d0ba5 commit 846c6183cafe4cb535547f1e13a7f9c48d751a61
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 846c618

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