summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tabbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index 7326d7af..460a2464 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -199,7 +199,7 @@ void TabBar::mouseMoveEvent(QMouseEvent *event)
}
//if found and not the current tab then show tab preview
- if (tab != -1 && tab != currentIndex() && m_currentTabPreview != tab)
+ if (tab != -1 && tab != currentIndex() && m_currentTabPreview != tab && event->buttons() == Qt::NoButton)
{
showTabPreview(tab);
m_currentTabPreview = tab;