Commit 7a83673a authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Tabbar: Provide a drop action when starting drag

Otherwise the "+" icon feedback isn't there.
parent 4a10f068
Pipeline #207534 passed with stage
in 6 minutes and 20 seconds
......@@ -263,7 +263,7 @@ void KateTabBar::mouseMoveEvent(QMouseEvent *event)
drag->setHotSpot(hp);
dragStartPos = {};
drag->exec();
drag->exec(Qt::CopyAction);
// We send this even to ensure the "moveable tab" is properly reset and we have no dislocated tabs
QMouseEvent *e = new QMouseEvent(QEvent::MouseButtonPress, QPoint(), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier);
......
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