This commit is contained in:
Michael Zanetti 2020-11-16 23:41:55 +01:00
parent f6af8d5cec
commit c268cfebec
2 changed files with 2 additions and 3 deletions

View File

@ -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)
}
}
}

View File

@ -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()
}
}