diff --git a/nymea-app/ui/system/ModbusRtuAddMasterPage.qml b/nymea-app/ui/system/ModbusRtuAddMasterPage.qml index 350da7d0..c4c61b66 100644 --- a/nymea-app/ui/system/ModbusRtuAddMasterPage.qml +++ b/nymea-app/ui/system/ModbusRtuAddMasterPage.qml @@ -164,7 +164,7 @@ SettingsPageBase { ComboBox { id: baudRateComboBox Layout.minimumWidth: 250 - textRole: "text" + textRole: "value" enabled: !root.busy onActivated: console.log("Selected baud rate", currentText, model.get(currentIndex).value) model: serialPortBaudrateModel diff --git a/nymea-app/ui/system/ModbusRtuReconfigureMasterPage.qml b/nymea-app/ui/system/ModbusRtuReconfigureMasterPage.qml index b1c8eac3..ff6405d4 100644 --- a/nymea-app/ui/system/ModbusRtuReconfigureMasterPage.qml +++ b/nymea-app/ui/system/ModbusRtuReconfigureMasterPage.qml @@ -179,7 +179,7 @@ SettingsPageBase { id: baudRateComboBox Layout.minimumWidth: 250 enabled: !root.busy - textRole: "text" + textRole: "value" model: serialPortBaudrateModel onActivated: console.log("Selected baudrate", currentText, model.get(currentIndex).value) Component.onCompleted: {