Commit 4941054e authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Tabbar: Provide a drop action when starting drag

Otherwise the "+" icon feedback isn't there.
parent 32cfd881
Pipeline #207392 passed with stage
in 10 minutes and 21 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