Commit decb8f76 authored by Leander Schulten's avatar Leander Schulten
Browse files

Fix Bug where invisible items are only white and still visible in list

parent 6ebd3924
......@@ -213,8 +213,16 @@ ControlItem{
delegate: CheckDelegate{
width: 200
text: itemData.name
visible: itemData.name.startsWith(search.text,Qt.CaseInsensitive)
visible: height !== 0
height: itemData.name.startsWith(search.text,Qt.CaseInsensitive) * implicitHeight
checked: use
clip:true
Behavior on height {
NumberAnimation{
duration: 250
easing.type: "OutQuad"
}
}
onCheckedChanged: use = checked
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment