fix combo-box panic after 6034a0c

This commit is contained in:
edwloef 2025-04-26 17:47:11 +02:00
parent afc562d336
commit 40ed7d8762
No known key found for this signature in database

View file

@ -509,6 +509,10 @@ where
vec![widget::Tree::new(&self.text_input as &dyn Widget<_, _, _>)]
}
fn diff(&self, _tree: &mut widget::Tree) {
// do nothing so the children don't get cleared
}
fn update(
&mut self,
tree: &mut widget::Tree,