Преглед на файлове

Combo: Removed unnecessary ClearActiveId() call (from era where active combo stored an id, now we just use popup functionality)

omar преди 8 години
родител
ревизия
5658675e9d
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      imgui.cpp

+ 0 - 1
imgui.cpp

@@ -8667,7 +8667,6 @@ bool ImGui::Combo(const char* label, int* current_item, bool (*items_getter)(voi
                     item_text = "*Unknown item*";
                 if (Selectable(item_text, item_selected))
                 {
-                    ClearActiveID();
                     value_changed = true;
                     *current_item = i;
                 }