From f39d43faef97b9a7a4f29f7260e8ba6e705caac3 Mon Sep 17 00:00:00 2001 From: pajlada Date: Tue, 2 May 2023 22:33:01 +0200 Subject: [PATCH] Fix link tooltips showing up blank instead of with text-only (#4597) Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com> --- CHANGELOG.md | 1 + src/widgets/helper/ChannelView.cpp | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 875ef0bc..599b2fb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ## Slated for 2.4.3 - Bugfix: Fixed the menu warping on macOS on Qt6. (#4595) +- Bugfix: Fixed link tooltips not showing unless the thumbnail setting was enabled. (#4597) ## 2.4.3 Beta diff --git a/src/widgets/helper/ChannelView.cpp b/src/widgets/helper/ChannelView.cpp index ef8c4542..12194ad4 100644 --- a/src/widgets/helper/ChannelView.cpp +++ b/src/widgets/helper/ChannelView.cpp @@ -1774,9 +1774,10 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event) }); } auto thumbnailSize = getSettings()->thumbnailSize; - if (!thumbnailSize) + if (thumbnailSize == 0) { - tooltipWidget->clearEntries(); + // "Show thumbnails" is set to "Off", show text only + tooltipWidget->setOne({nullptr, element->getTooltip()}); } else {