forked from qt-creator/qt-creator
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:
committed by
Henning Gründl
parent
250b2cd7bd
commit
aaf7fba0c3
@@ -400,6 +400,7 @@ Rectangle {
|
|||||||
currentIndex: workspacesFlyout.indexOfValue(backend.currentWorkspace)
|
currentIndex: workspacesFlyout.indexOfValue(backend.currentWorkspace)
|
||||||
|
|
||||||
onCompressedActivated: backend.setCurrentWorkspace(workspacesFlyout.currentValue)
|
onCompressedActivated: backend.setCurrentWorkspace(workspacesFlyout.currentValue)
|
||||||
|
onCountChanged: workspacesFlyout.currentIndex = workspacesFlyout.indexOfValue(backend.currentWorkspace)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user