QmlDesigner: Fix flyout workspace selection

Task-number: QDS-10494
Change-Id: I2ebd65c744c085c55325b5f73f4e0da45ef5d04c
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Henning Gruendl
2023-09-04 16:44:47 +02:00
committed by Henning Gründl
parent 250b2cd7bd
commit aaf7fba0c3

View File

@@ -400,6 +400,7 @@ Rectangle {
currentIndex: workspacesFlyout.indexOfValue(backend.currentWorkspace)
onCompressedActivated: backend.setCurrentWorkspace(workspacesFlyout.currentValue)
onCountChanged: workspacesFlyout.currentIndex = workspacesFlyout.indexOfValue(backend.currentWorkspace)
}
}
}