diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2021-04-05 21:43:23 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2021-04-05 21:43:23 -0500 |
| commit | ba7eeb12c506d67703cc57752167470567dae74f (patch) | |
| tree | a39e93d5fca4a65118bf96046069b4431335ff51 | |
| parent | 2354c615d10ebb3eee21e534ee8c70725f0359b4 (diff) | |
| parent | ecc8b8cc994736d23a96004cddbc40002db68a30 (diff) | |
| download | monzero-gui-ba7eeb12c506d67703cc57752167470567dae74f.tar.gz monzero-gui-ba7eeb12c506d67703cc57752167470567dae74f.tar.xz monzero-gui-ba7eeb12c506d67703cc57752167470567dae74f.zip | |
Merge pull request #3371
ecc8b8c RemoteNodeEdit: change border color on focus (xiphon)
| -rw-r--r-- | components/RemoteNodeEdit.qml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/components/RemoteNodeEdit.qml b/components/RemoteNodeEdit.qml index 6dcd617b..75ee8139 100644 --- a/components/RemoteNodeEdit.qml +++ b/components/RemoteNodeEdit.qml @@ -56,7 +56,6 @@ GridLayout { property int labelFontSize: 14 property string lineEditBackgroundColor: "transparent" - property string lineEditBorderColor: MoneroComponents.Style.inputBorderColorInActive property string lineEditFontColor: MoneroComponents.Style.defaultFontColor property bool lineEditFontBold: false property int lineEditFontSize: 15 @@ -67,6 +66,8 @@ GridLayout { signal editingFinished() signal textChanged() + onActiveFocusChanged: activeFocus && daemonAddr.forceActiveFocus() + function isValid() { return daemonAddr.text.trim().length > 0 && daemonPort.acceptableInput } @@ -92,7 +93,6 @@ GridLayout { placeholderColor: root.placeholderColor placeholderOpacity: root.placeholderOpacity labelFontSize: root.labelFontSize - borderColor: lineEditBorderColor backgroundColor: lineEditBackgroundColor fontColor: lineEditFontColor fontBold: lineEditFontBold @@ -115,7 +115,6 @@ GridLayout { placeholderColor: root.placeholderColor placeholderOpacity: root.placeholderOpacity labelFontSize: root.labelFontSize - borderColor: lineEditBorderColor backgroundColor: lineEditBackgroundColor fontColor: lineEditFontColor fontBold: lineEditFontBold |
