Fix mistake unwrap in PopupMenu.
This commit is contained in:
parent
3dd149e711
commit
4a5b387b40
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ impl Render for PopupMenu {
|
||||||
if let Some(icon) = icon {
|
if let Some(icon) = icon {
|
||||||
this.child(icon.clone())
|
this.child(icon.clone())
|
||||||
} else {
|
} else {
|
||||||
this.child(icon_placeholder.clone().unwrap())
|
this.children(icon_placeholder.clone())
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue