fix: Empty tooltip showing when hovering over search bar in welcome screen

This commit is contained in:
WerWolv 2024-05-18 11:58:25 +02:00
parent 1e91505e6e
commit 1d6676f059
1 changed files with 1 additions and 1 deletions

View File

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