mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-12 05:58:35 +00:00
Focus the selected item.
This commit is contained in:
parent
a78fb45497
commit
801c9109a4
@ -203,6 +203,9 @@ impl<'a> ComboBox<'a> {
|
||||
*current_item = idx;
|
||||
result = true;
|
||||
}
|
||||
if selected {
|
||||
ui.set_item_default_focus();
|
||||
}
|
||||
}
|
||||
}
|
||||
result
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user