diff --git a/crates/egui/src/containers/combo_box.rs b/crates/egui/src/containers/combo_box.rs index 67348081683..b4c7bbca7d3 100644 --- a/crates/egui/src/containers/combo_box.rs +++ b/crates/egui/src/containers/combo_box.rs @@ -273,7 +273,7 @@ impl ComboBox { /// Check if the [`ComboBox`] with the given id has its popup menu currently opened. pub fn is_open(ctx: &Context, id: Id) -> bool { - ctx.memory(|m| m.is_popup_open(ComboBox::widget_to_popup_id(id))) + ctx.memory(|m| m.is_popup_open(Self::widget_to_popup_id(id))) } /// Convert a [`ComboBox`] id to the id used to store it's popup state.