mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-10 11:53:14 +08:00
fix: name is unique, but address can be the same. (#518)
This commit is contained in:
@@ -67,9 +67,8 @@ namespace YimMenu::Submenus
|
||||
{
|
||||
for (auto& var : SavedVariables::GetSavedGlobals())
|
||||
{
|
||||
const auto& value = var.Read();
|
||||
ImGui::PushID(value);
|
||||
DrawSavedVariablePreview(var, value);
|
||||
ImGui::PushID(var.name.c_str());
|
||||
DrawSavedVariablePreview(var, var.Read());
|
||||
ImGui::PopID();
|
||||
}
|
||||
ImGui::EndListBox();
|
||||
|
||||
Reference in New Issue
Block a user