Set initial focus to host input widget. 97/head
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 10 Oct 2014 05:28:35 +0000 (07:28 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 10 Oct 2014 05:28:35 +0000 (07:28 +0200)
src/qtui/settingspages/networkssettingspage.cpp

index 618636a..69f5c81 100644 (file)
@@ -865,6 +865,7 @@ ServerEditDlg::ServerEditDlg(const Network::Server &server, QWidget *parent) : Q
     ui.setupUi(this);
     ui.useSSL->setIcon(SmallIcon("document-encrypt"));
     ui.host->setText(server.host);
+    ui.host->setFocus();
     ui.port->setValue(server.port);
     ui.password->setText(server.password);
     ui.useSSL->setChecked(server.useSsl);