forked from qt-creator/qt-creator
QmlDesigner: Close dialog when view loses focus
Change-Id: Ib48229615ee9b2ccef1a8be98086a93851dae6af Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
f25ce01ead
commit
44699727ad
@@ -15,10 +15,11 @@ ListView {
|
||||
|
||||
property bool adsFocus: false
|
||||
|
||||
onAdsFocusChanged: {
|
||||
if (!root.adsFocus)
|
||||
dialog.close()
|
||||
}
|
||||
// Temporarily remove due to dockwidget focus issue
|
||||
//onAdsFocusChanged: {
|
||||
// if (!root.adsFocus)
|
||||
// dialog.close()
|
||||
//}
|
||||
|
||||
clip: true
|
||||
interactive: true
|
||||
|
@@ -15,10 +15,11 @@ ListView {
|
||||
|
||||
property bool adsFocus: false
|
||||
|
||||
onAdsFocusChanged: {
|
||||
if (!root.adsFocus)
|
||||
dialog.close()
|
||||
}
|
||||
// Temporarily remove due to dockwidget focus issue
|
||||
//onAdsFocusChanged: {
|
||||
// if (!root.adsFocus)
|
||||
// dialog.close()
|
||||
//}
|
||||
|
||||
clip: true
|
||||
interactive: true
|
||||
|
@@ -15,10 +15,11 @@ ListView {
|
||||
|
||||
property bool adsFocus: false
|
||||
|
||||
onAdsFocusChanged: {
|
||||
if (!root.adsFocus)
|
||||
dialog.close()
|
||||
}
|
||||
// Temporarily remove due to dockwidget focus issue
|
||||
//onAdsFocusChanged: {
|
||||
// if (!root.adsFocus)
|
||||
// dialog.close()
|
||||
//}
|
||||
|
||||
clip: true
|
||||
interactive: true
|
||||
|
Reference in New Issue
Block a user