diff --git a/src/lib/tabwidget/tabbar.cpp b/src/lib/tabwidget/tabbar.cpp index 074bebf86..2b2ddd72d 100644 --- a/src/lib/tabwidget/tabbar.cpp +++ b/src/lib/tabwidget/tabbar.cpp @@ -293,6 +293,10 @@ void TabBar::showCloseButton(int index) void TabBar::contextMenuEvent(QContextMenuEvent* event) { + if (isDragInProgress()) { + return; + } + int index = tabAt(event->pos()); TabContextMenu menu(index, Qt::Horizontal, m_window, m_tabWidget);