mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 14:16:36 +00:00
Combo: Removed unnecessary ClearActiveId() call (from era where active combo stored an id, now we just use popup functionality)
This commit is contained in:
parent
804ee78731
commit
5658675e9d
@ -8667,7 +8667,6 @@ bool ImGui::Combo(const char* label, int* current_item, bool (*items_getter)(voi
|
|||||||
item_text = "*Unknown item*";
|
item_text = "*Unknown item*";
|
||||||
if (Selectable(item_text, item_selected))
|
if (Selectable(item_text, item_selected))
|
||||||
{
|
{
|
||||||
ClearActiveID();
|
|
||||||
value_changed = true;
|
value_changed = true;
|
||||||
*current_item = i;
|
*current_item = i;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user