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 10db577
Showing 1 changed file with 3 additions and 0 deletions.
@@ -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.