Skip to content

Commit 10db577

Browse files
committedJan 15, 2014
credentials: give focus to password if a user is given
1 parent 0d8875f commit 10db577

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/gui/qgscredentialdialog.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ void QgsCredentialDialog::requestCredentials( QString realm, QString *username,
6060
labelMessage->setText( message );
6161
labelMessage->setHidden( message.isEmpty() );
6262

63+
if ( !leUsername->text().isEmpty() )
64+
lePassword->setFocus();
65+
6366
QApplication::setOverrideCursor( Qt::ArrowCursor );
6467

6568
QgsDebugMsg( "exec()" );

0 commit comments

Comments
 (0)
Please sign in to comment.