Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
87e88d1a
Commit
87e88d1a
authored
Oct 01, 2022
by
Waqar Ahmed
Browse files
Fix wrong drag on tab takes you to the first tab
parent
2b188ceb
Pipeline
#239103
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
apps/lib/katetabbar.cpp
View file @
87e88d1a
...
...
@@ -287,7 +287,7 @@ void KateTabBar::mouseMoveEvent(QMouseEvent *event)
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
,
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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment