1
0
mirror of synced 2025-01-18 17:14:13 +01:00

fix: Provider hover tooltip always showing information about current provider

This commit is contained in:
WerWolv 2023-10-12 20:28:02 +02:00
parent 929e0e64a5
commit b98b60a126

View File

@ -273,7 +273,7 @@ namespace hex::plugin::builtin {
ImGui::TextFormatted("{}", tabProvider->getName().c_str()); ImGui::TextFormatted("{}", tabProvider->getName().c_str());
const auto &description = provider->getDataDescription(); const auto &description = tabProvider->getDataDescription();
if (!description.empty()) { if (!description.empty()) {
ImGui::Separator(); ImGui::Separator();
if (ImGui::GetIO().KeyShift && !description.empty()) { if (ImGui::GetIO().KeyShift && !description.empty()) {