forked from qt-creator/qt-creator
QmlDesigner: Fix states editor dialog not closing
Task-number: QDS-8439 Change-Id: Idf633b345de6e4f124b2f621699615ac6d764ceb Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
84104499b7
commit
4b72ac3022
@@ -264,7 +264,10 @@ Rectangle {
|
||||
|
||||
Connections {
|
||||
target: statesEditorModel
|
||||
onModelReset: root.menuOpen = 0
|
||||
function onModelReset() {
|
||||
root.menuOpen = 0
|
||||
editDialog.close()
|
||||
}
|
||||
}
|
||||
|
||||
// This timer is used to delay the current state animation as it didn't work due to the
|
||||
|
Reference in New Issue
Block a user