mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
[TabPreview] Don't show tab previews while dragging tabs.
This commit is contained in:
parent
8bff746d30
commit
ab8496610e
@ -596,7 +596,7 @@ bool TabBar::event(QEvent* event)
|
||||
case QEvent::ToolTip:
|
||||
if (m_showTabPreviews) {
|
||||
QHelpEvent* ev = static_cast<QHelpEvent*>(event);
|
||||
if (tabAt(ev->pos()) != -1 && !m_tabPreview->isVisible()) {
|
||||
if (tabAt(ev->pos()) != -1 && !m_tabPreview->isVisible() && m_dragStartPosition.isNull()) {
|
||||
showTabPreview();
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user