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
Konsole
Commits
e20dc5d4
Commit
e20dc5d4
authored
Jul 20, 2022
by
Koichi Murase
Committed by
Kurt Hindenburg
Jul 31, 2022
Browse files
Process text from drag&drop the same as paste
parent
0aa39e22
Pipeline
#211221
passed with stage
in 2 minutes and 50 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/terminalDisplay/TerminalDisplay.cpp
View file @
e20dc5d4
...
...
@@ -2764,7 +2764,7 @@ void TerminalDisplay::dropEvent(QDropEvent *event)
}
if
(
mimeData
->
hasFormat
(
QStringLiteral
(
"text/plain"
))
||
mimeData
->
hasFormat
(
QStringLiteral
(
"text/uri-list"
)))
{
Q_EMIT
sendStringToEmu
(
dropText
.
toLocal8Bit
()
);
doPaste
(
dropText
,
false
);
}
setFocus
(
Qt
::
MouseFocusReason
);
...
...
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