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:
Henning Gruendl
2022-11-28 12:18:42 +01:00
committed by Henning Gründl
parent 84104499b7
commit 4b72ac3022

View File

@@ -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