Tables: fixes incorrect forward declaration for a missing function + fixed tooltip comment. (#9445, #9448)

This commit is contained in:
ocornut
2026-06-17 12:49:52 +02:00
parent 2064059a7f
commit 13fc81fc82
3 changed files with 1 additions and 3 deletions

View File

@@ -1577,7 +1577,7 @@ bool ImGui::TextLinkOpenURL(const char* label, const char* url)
bool pressed = TextLink(label);
if (pressed && g.PlatformIO.Platform_OpenInShellFn != NULL)
g.PlatformIO.Platform_OpenInShellFn(&g, url);
SetItemTooltip(LocalizeGetMsg(ImGuiLocKey_OpenLink_s), url); // It is more reassuring for user to _always_ display URL when we same as label
SetItemTooltip(LocalizeGetMsg(ImGuiLocKey_OpenLink_s), url); // It is more reassuring for user to _always_ display URL when it is the same as the label.
if (BeginPopupContextItem())
{
if (MenuItem(LocalizeGetMsg(ImGuiLocKey_CopyLink)))