Fix link tooltips showing up blank instead of with text-only (#4597)

Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
This commit is contained in:
pajlada
2023-05-02 22:33:01 +02:00
committed by GitHub
parent 9d71f9017f
commit f39d43faef
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -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
{