forked from qt-creator/qt-creator
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:
@@ -34,6 +34,11 @@ Rectangle {
|
|||||||
height: 400
|
height: 400
|
||||||
color: Theme.qmlDesignerBackgroundColorDarkAlternate()
|
color: Theme.qmlDesignerBackgroundColorDarkAlternate()
|
||||||
|
|
||||||
|
MouseArea {
|
||||||
|
anchors.fill: parent
|
||||||
|
onClicked: forceActiveFocus()
|
||||||
|
}
|
||||||
|
|
||||||
ScrollView {
|
ScrollView {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user