aboutsummaryrefslogtreecommitdiff
path: root/components/RemoteNodeEdit.qml
diff options
context:
space:
mode:
authorAiden Scandella <git@sca.ndella.com>2018-10-21 06:14:17 -0700
committerAiden Scandella <git@sca.ndella.com>2018-10-23 00:03:40 -0700
commita30ce26dba75d7da0de141dc279f475a0cbfb7db (patch)
treef42358a6d2f26fd2300e8602d24658ccca3857c0 /components/RemoteNodeEdit.qml
parent3aa6da058a697378d8b6ee0864a559c207a332e2 (diff)
downloadmonzero-gui-a30ce26dba75d7da0de141dc279f475a0cbfb7db.tar.gz
monzero-gui-a30ce26dba75d7da0de141dc279f475a0cbfb7db.tar.xz
monzero-gui-a30ce26dba75d7da0de141dc279f475a0cbfb7db.zip
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.
Diffstat (limited to 'components/RemoteNodeEdit.qml')
-rw-r--r--components/RemoteNodeEdit.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/RemoteNodeEdit.qml b/components/RemoteNodeEdit.qml
index 36d2ee94..4b003969 100644
--- a/components/RemoteNodeEdit.qml
+++ b/components/RemoteNodeEdit.qml
@@ -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