mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fix model binding for objectSelector
This commit is contained in:
parent
ee05dc7b47
commit
91651a34d4
1 changed files with 7 additions and 2 deletions
|
|
@ -116,10 +116,15 @@ Item
|
||||||
|
|
||||||
delegate: ObjectItemButton
|
delegate: ObjectItemButton
|
||||||
{
|
{
|
||||||
|
id: modelButton
|
||||||
|
Binding
|
||||||
|
{
|
||||||
|
target: modelButton
|
||||||
|
property: "checked"
|
||||||
|
value: model.selected
|
||||||
|
}
|
||||||
text: model.name
|
text: model.name
|
||||||
width: listView.width
|
width: listView.width
|
||||||
|
|
||||||
checked: model.selected
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue