From 1d6676f059612de47e7523bf091cc04a115bfe7c Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 18 May 2024 11:58:25 +0200 Subject: [PATCH] fix: Empty tooltip showing when hovering over search bar in welcome screen --- plugins/builtin/source/content/window_decoration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/builtin/source/content/window_decoration.cpp b/plugins/builtin/source/content/window_decoration.cpp index da6a9b6e7..9f1fbf405 100644 --- a/plugins/builtin/source/content/window_decoration.cpp +++ b/plugins/builtin/source/content/window_decoration.cpp @@ -234,7 +234,7 @@ namespace hex::plugin::builtin { if (auto provider = ImHexApi::Provider::get(); provider != nullptr) { drawProviderTooltip(ImHexApi::Provider::get()); - } else { + } else if (!s_windowTitleFull.empty()) { if (ImGuiExt::InfoTooltip()) { ImGui::BeginTooltip(); ImGui::TextUnformatted(s_windowTitleFull.c_str());