Fix binding to process model
parent
56856d081b
commit
2f0aa11ee1
|
@ -123,8 +123,10 @@ ApplicationWindow {
|
||||||
onClicked: {
|
onClicked: {
|
||||||
processSelection.select(index, ItemSelectionModel.ToggleCurrent);
|
processSelection.select(index, ItemSelectionModel.ToggleCurrent);
|
||||||
}
|
}
|
||||||
Component.onCompleted: {
|
Binding {
|
||||||
processes.active = Qt.binding(function() { return visible; });
|
target: demo.processes
|
||||||
|
property: "active"
|
||||||
|
value: visible
|
||||||
}
|
}
|
||||||
width: parent.width
|
width: parent.width
|
||||||
anchors.top: processFilterInput.bottom
|
anchors.top: processFilterInput.bottom
|
||||||
|
|
Loading…
Reference in New Issue