diff --git a/src/widgets/splits/SplitHeader.cpp b/src/widgets/splits/SplitHeader.cpp index bd8949073..75192d851 100644 --- a/src/widgets/splits/SplitHeader.cpp +++ b/src/widgets/splits/SplitHeader.cpp @@ -10,6 +10,7 @@ #include "singletons/Resources.hpp" #include "singletons/Settings.hpp" #include "singletons/Theme.hpp" +#include "singletons/TooltipPreviewImage.hpp" #include "singletons/WindowManager.hpp" #include "util/LayoutCreator.hpp" #include "util/LayoutHelper.hpp" @@ -599,6 +600,8 @@ void SplitHeader::enterEvent(QEvent *event) { if (!this->tooltipText_.isEmpty()) { + TooltipPreviewImage::getInstance().setImage(nullptr); + auto tooltip = TooltipWidget::getInstance(); tooltip->moveTo(this, this->mapToGlobal(this->rect().bottomLeft()), false);