fixes
This commit is contained in:
parent
f6af8d5cec
commit
c268cfebec
@ -211,7 +211,7 @@ SettingsPageBase {
|
||||
}
|
||||
|
||||
onAccepted: {
|
||||
d.addNetwork(serialPortOptionsDialog.serialPort, baudRateComboBox.currentValue, backendModel.get(backendComboBox.currentIndex).backendValue)
|
||||
d.addNetwork(serialPortOptionsDialog.serialPort, baudRateComboBox.currentText, backendModel.get(backendComboBox.currentIndex).backendValue)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -97,7 +97,6 @@ SettingsPageBase {
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
anchors { left: parent.left; right: parent.right }
|
||||
|
||||
Button {
|
||||
Layout.fillWidth: true
|
||||
@ -117,7 +116,7 @@ SettingsPageBase {
|
||||
Layout.rightMargin: app.margins
|
||||
text: qsTr("Factory reset controller")
|
||||
onClicked: {
|
||||
engine.zigbeeManager.factoryResetNetwork(root.network.networkUuid)
|
||||
root.zigbeeManager.factoryResetNetwork(root.network.networkUuid)
|
||||
pageStack.pop()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user