QmlDesigner: Reset focus also for objects not derived from Item

Task-number: QDS-2369
Change-Id: Ifa9ce163751bad0de09db5d35f77609210dd0ac5
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
Thomas Hartmann
2020-06-25 15:08:11 +02:00
parent 6ac416fc81
commit cd622fd0a7

View File

@@ -34,6 +34,11 @@ Rectangle {
height: 400
color: Theme.qmlDesignerBackgroundColorDarkAlternate()
MouseArea {
anchors.fill: parent
onClicked: forceActiveFocus()
}
ScrollView {
anchors.fill: parent