fix: Recent entries with same name not being clickable
This commit is contained in:
parent
eff9ecf7cd
commit
cc29707bb1
@ -215,6 +215,9 @@ namespace hex::plugin::builtin {
|
|||||||
ImGui::SetCursorPosY(ImGui::GetCursorPosY() + 5_scaled);
|
ImGui::SetCursorPosY(ImGui::GetCursorPosY() + 5_scaled);
|
||||||
{
|
{
|
||||||
for (const auto &recentProvider : s_recentProviders) {
|
for (const auto &recentProvider : s_recentProviders) {
|
||||||
|
ImGui::PushID(&recentProvider);
|
||||||
|
ON_SCOPE_EXIT { ImGui::PopID(); };
|
||||||
|
|
||||||
if (ImGui::BulletHyperlink(recentProvider.displayName.c_str())) {
|
if (ImGui::BulletHyperlink(recentProvider.displayName.c_str())) {
|
||||||
loadRecentProvider(recentProvider);
|
loadRecentProvider(recentProvider);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user