Commit 09710987 authored by Andrey Yashkin's avatar Andrey Yashkin Committed by Kurt Hindenburg
Browse files

Set terminal focus after a drag and drop

After dropping objects in terminal, focus is not set on terminal
widget as it expected.

!265
parent b513c5ca
......@@ -3075,6 +3075,8 @@ void TerminalDisplay::dropEvent(QDropEvent* event)
mimeData->hasFormat(QStringLiteral("text/uri-list"))) {
emit sendStringToEmu(dropText.toLocal8Bit());
}
setFocus(Qt::MouseFocusReason);
}
void TerminalDisplay::doDrag()
......
Markdown is supported
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