From cf87a9895edb87a2bd53788413227843ccff3fd1 Mon Sep 17 00:00:00 2001 From: nowrep Date: Tue, 24 Dec 2013 00:18:28 +0100 Subject: [PATCH] [TabPreviews] Immediately hide preview when using mouse wheel in tabbar --- src/lib/webview/tabbar.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/webview/tabbar.cpp b/src/lib/webview/tabbar.cpp index d45e768e3..313f2871c 100644 --- a/src/lib/webview/tabbar.cpp +++ b/src/lib/webview/tabbar.cpp @@ -637,6 +637,10 @@ bool TabBar::event(QEvent* event) hideTabPreview(); break; + case QEvent::Wheel: + hideTabPreview(false); + break; + case QEvent::ToolTip: if (m_showTabPreviews) { QHelpEvent* ev = static_cast(event);