Merge PR #492: Fix the default port for manual connections

This commit is contained in:
Jenkins nymea 2021-01-02 13:30:19 +01:00
commit 9746bab36e

View File

@ -72,9 +72,7 @@ Page {
TextField { TextField {
id: portTextInput id: portTextInput
Layout.fillWidth: true Layout.fillWidth: true
placeholderText: connectionTypeComboBox.currentIndex === 0 ? placeholderText: connectionTypeComboBox.currentIndex === 0 ? "2222" : "4444"
secureCheckBox.checked ? "2223" : "2222"
: secureCheckBox.checked ? "4445" : "4444"
validator: IntValidator{bottom: 1; top: 65535;} validator: IntValidator{bottom: 1; top: 65535;}
} }