1
0
mirror of synced 2024-09-25 03:58:27 +02:00

fix: Providers with the same name not being selectable in diff view

Fixes #1034
This commit is contained in:
WerWolv 2023-04-13 15:03:14 +02:00
parent cf72b5ec5c
commit ffafb05d3d

View File

@ -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();