mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Providers with the same name not being selectable in diff view
Fixes #1034
This commit is contained in:
@@ -92,10 +92,12 @@ namespace hex::plugin::builtin {
|
||||
if (ImGui::BeginCombo("", preview.c_str())) {
|
||||
|
||||
for (size_t i = 0; i < providers.size(); i++) {
|
||||
ImGui::PushID(i + 1);
|
||||
if (ImGui::Selectable(providers[i]->getName().c_str())) {
|
||||
providerIndex = i;
|
||||
shouldReanalyze = true;
|
||||
}
|
||||
ImGui::PopID();
|
||||
}
|
||||
|
||||
ImGui::EndCombo();
|
||||
|
||||
Reference in New Issue
Block a user