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
|
property bool adsFocus: false
|
||||||
|
|
||||||
onAdsFocusChanged: {
|
// Temporarily remove due to dockwidget focus issue
|
||||||
if (!root.adsFocus)
|
//onAdsFocusChanged: {
|
||||||
dialog.close()
|
// if (!root.adsFocus)
|
||||||
}
|
// dialog.close()
|
||||||
|
//}
|
||||||
|
|
||||||
clip: true
|
clip: true
|
||||||
interactive: true
|
interactive: true
|
||||||
|
@@ -15,10 +15,11 @@ ListView {
|
|||||||
|
|
||||||
property bool adsFocus: false
|
property bool adsFocus: false
|
||||||
|
|
||||||
onAdsFocusChanged: {
|
// Temporarily remove due to dockwidget focus issue
|
||||||
if (!root.adsFocus)
|
//onAdsFocusChanged: {
|
||||||
dialog.close()
|
// if (!root.adsFocus)
|
||||||
}
|
// dialog.close()
|
||||||
|
//}
|
||||||
|
|
||||||
clip: true
|
clip: true
|
||||||
interactive: true
|
interactive: true
|
||||||
|
@@ -15,10 +15,11 @@ ListView {
|
|||||||
|
|
||||||
property bool adsFocus: false
|
property bool adsFocus: false
|
||||||
|
|
||||||
onAdsFocusChanged: {
|
// Temporarily remove due to dockwidget focus issue
|
||||||
if (!root.adsFocus)
|
//onAdsFocusChanged: {
|
||||||
dialog.close()
|
// if (!root.adsFocus)
|
||||||
}
|
// dialog.close()
|
||||||
|
//}
|
||||||
|
|
||||||
clip: true
|
clip: true
|
||||||
interactive: true
|
interactive: true
|
||||||
|
Reference in New Issue
Block a user