Merge pull request #2905 from edwloef/fix_combo_box

fix combo-box panic after 6034a0c
This commit is contained in:
Héctor 2025-04-26 18:26:04 +02:00 committed by GitHub
commit aa633f6832
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,