fix: Custom data processor node name ID collisions

This commit is contained in:
WerWolv
2025-09-09 23:37:22 +02:00
parent 32e3a4e74f
commit 310ca6c6dc

View File

@@ -713,10 +713,14 @@ namespace hex::plugin::builtin {
ImGui::Separator();
// Draw entries for each custom node
u32 id = 1;
for (const auto &customNode : m_customNodes) {
ImGui::PushID(id);
if (ImGui::MenuItem(customNode.name.c_str())) {
node = loadNode(customNode.data);
}
ImGui::PopID();
id += 1;
}
ImGui::EndMenu();
}