1
0
mirror of synced 2025-01-31 03:53:44 +01:00

fix: Recent entries with same name not being clickable

This commit is contained in:
WerWolv 2022-08-14 19:12:24 +02:00
parent eff9ecf7cd
commit cc29707bb1

View File

@ -215,6 +215,9 @@ namespace hex::plugin::builtin {
ImGui::SetCursorPosY(ImGui::GetCursorPosY() + 5_scaled);
{
for (const auto &recentProvider : s_recentProviders) {
ImGui::PushID(&recentProvider);
ON_SCOPE_EXIT { ImGui::PopID(); };
if (ImGui::BulletHyperlink(recentProvider.displayName.c_str())) {
loadRecentProvider(recentProvider);
break;