Fix daemon host/port setting to allow tab switching

Previously, these were multiline editing (for some reason I'm not sure,
perhaps you can have multiple remote nodes?)

I tried various workarounds, but the simplest was to change them to
simply LineEdit (like username/password) and now my bug is fixed.
This commit is contained in:
Aiden Scandella 2018-10-21 06:14:17 -07:00
parent 3aa6da058a
commit a30ce26dba
No known key found for this signature in database
GPG key ID: 17C559C421D83A19

View file

@ -63,7 +63,7 @@ GridLayout {
return daemonAddr.text.trim() + ":" + daemonPort.text.trim()
}
LineEditMulti {
LineEdit {
id: daemonAddr
Layout.fillWidth: true
placeholderText: qsTr("Remote Node Hostname / IP") + translationManager.emptyString
@ -81,7 +81,7 @@ GridLayout {
onEditingFinished: root.editingFinished()
}
LineEditMulti {
LineEdit {
id: daemonPort
Layout.fillWidth: true
placeholderText: qsTr("Port") + translationManager.emptyString