Browse files

Fix focus in jammr Connect dialog

The jammr Connect dialog had input focus on the "New jam" button.  This
made it difficult for keyboard or screen reader users to press the
"Connect" button (which is disabled until the list of jams is loaded
into the server browser).

Put the focus on the server browser, with the "Connect" button as the
next widget and finally the "New jam" button.  Most users connect to
existing jams and do not create new jams.

Signed-off-by: Stefan Hajnoczi <>
  • Loading branch information...
stefanha committed Jul 15, 2017
1 parent 441a70b commit 642813555f001aed2ad5e5072cb86eca43ded2f0
Showing with 3 additions and 0 deletions.
  1. +3 −0 qtclient/JammrConnectDialog.cpp
@@ -58,6 +58,9 @@ JammrConnectDialog::JammrConnectDialog(QNetworkAccessManager *netManager_,
setTabOrder(serverBrowser, connectButton);
setTabOrder(connectButton, newJamButton);
setWindowTitle(tr("Connect to server..."));

0 comments on commit 6428135

Please sign in to comment.