forked from qt-creator/qt-creator
QmlDesigner: Close dialog when view loses focus
Change-Id: I4666953ff862886fbb02fb3982d6856a223fe969 Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
a496ac5d02
commit
f25ce01ead
@@ -15,6 +15,11 @@ ListView {
|
||||
|
||||
property bool adsFocus: false
|
||||
|
||||
onAdsFocusChanged: {
|
||||
if (!root.adsFocus)
|
||||
dialog.close()
|
||||
}
|
||||
|
||||
clip: true
|
||||
interactive: true
|
||||
highlightMoveDuration: 0
|
||||
|
@@ -15,6 +15,11 @@ ListView {
|
||||
|
||||
property bool adsFocus: false
|
||||
|
||||
onAdsFocusChanged: {
|
||||
if (!root.adsFocus)
|
||||
dialog.close()
|
||||
}
|
||||
|
||||
clip: true
|
||||
interactive: true
|
||||
highlightMoveDuration: 0
|
||||
|
@@ -15,6 +15,11 @@ ListView {
|
||||
|
||||
property bool adsFocus: false
|
||||
|
||||
onAdsFocusChanged: {
|
||||
if (!root.adsFocus)
|
||||
dialog.close()
|
||||
}
|
||||
|
||||
clip: true
|
||||
interactive: true
|
||||
highlightMoveDuration: 0
|
||||
|
Reference in New Issue
Block a user