Commit 87e88d1a authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Fix wrong drag on tab takes you to the first tab

parent 2b188ceb
Pipeline #239103 canceled with stage
......@@ -287,7 +287,7 @@ void KateTabBar::mouseMoveEvent(QMouseEvent *event)
// We send this even to ensure the "moveable tab" is properly reset and we have no dislocated tabs
QMouseEvent *e = new QMouseEvent(QEvent::MouseButtonPress, dragStartPos, Qt::LeftButton, Qt::LeftButton, Qt::NoModifier);
QMouseEvent *e = new QMouseEvent(QEvent::MouseButtonPress, mapToGlobal(dragStartPos), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier);
qApp->postEvent(this, e);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment