[ui] GraphEditor: grab focus on background click

This commit is contained in:
Yann Lanthony 2018-02-06 12:20:22 +01:00
parent b931632ea2
commit ca8a70f367

View file

@ -60,6 +60,7 @@ Item {
} }
onReleased: { onReleased: {
drag.target = undefined // stop drag drag.target = undefined // stop drag
root.forceActiveFocus()
workspaceClicked() workspaceClicked()
} }
onPositionChanged: { onPositionChanged: {