Merge pull request #2905 from edwloef/fix_combo_box
fix combo-box panic after 6034a0c
This commit is contained in:
commit
aa633f6832
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue