diff --git a/src/LoginPage.qml b/src/LoginPage.qml index b57ffba..e40876a 100644 --- a/src/LoginPage.qml +++ b/src/LoginPage.qml @@ -67,17 +67,27 @@ Page { onAccepted: loginAction.trigger() } - MnemonicLabel { + CheckBox { + id: port + Layout.alignment: Qt.AlignRight - buddy: port - mnemonic: qsTr("Por&t:") + Mnemonic.label: qsTr("Por&t:") + text: Mnemonic.richTextLabel + + Shortcut { + sequence: port.Mnemonic.sequence + + onActivated: port.click() + } } SpinBox { - id: port + id: portNumber + Accessible.name: qsTr("Port number") Layout.fillWidth: true editable: true + enabled: port.checked from: 1 to: 65535 }