Skip to content

Commit

Permalink
credentials: give focus to password if a user is given
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 15, 2014
1 parent 0d8875f commit 10db577
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/qgscredentialdialog.cpp
Expand Up @@ -60,6 +60,9 @@ void QgsCredentialDialog::requestCredentials( QString realm, QString *username,
labelMessage->setText( message );
labelMessage->setHidden( message.isEmpty() );

if ( !leUsername->text().isEmpty() )
lePassword->setFocus();

QApplication::setOverrideCursor( Qt::ArrowCursor );

QgsDebugMsg( "exec()" );
Expand Down

0 comments on commit 10db577

Please sign in to comment.