File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ MbPage {
11
11
MbEditBox {
12
12
id: ipaddress
13
13
description: qsTr (" Hostname/IP Address" )
14
- bind: Utils .path (settings, " /Settings/TristarMPPT/IPAddress" )
15
- text : hostItem .value
14
+ item . bind : Utils .path (settings, " /Settings/TristarMPPT/IPAddress" )
15
+ item . value : hostItem .value
16
16
17
17
VBusItem {
18
18
id: hostItem
@@ -24,8 +24,8 @@ MbPage {
24
24
id: portnumber
25
25
description: qsTr (" Modbus IP Port" )
26
26
matchString: " 0123456789"
27
- text : portNumberItem .valid ? Utils .pad (portNumberItem .value , 5 ) : ' --'
28
- onTextChanged : portNumberItem .setValue (parseInt (text, 10 ));
27
+ item . value : portNumberItem .valid ? Utils .pad (portNumberItem .value , 5 ) : ' --'
28
+ onEditDone : portNumberItem .setValue (parseInt (text, 10 ));
29
29
30
30
VBusItem {
31
31
id: portNumberItem
You can’t perform that action at this time.
0 commit comments