Commit e20dc5d4 authored by Koichi Murase's avatar Koichi Murase Committed by Kurt Hindenburg
Browse files

Process text from drag&drop the same as paste

parent 0aa39e22
Pipeline #211221 passed with stage
in 2 minutes and 50 seconds
......@@ -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);
......
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