Merge PR #758: Fix modbus baudrate selection
This commit is contained in:
commit
fe3443e1d5
@ -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
|
||||
|
||||
@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user