Skip to content
Permalink
Browse files

credentials: give focus to password if a user is given

  • Loading branch information
3nids committed Jan 15, 2014
1 parent 0d8875f commit 10db5770c4c159763f77c972b4ba4b82f02a4b20
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/qgscredentialdialog.cpp
@@ -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()" );

0 comments on commit 10db577

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