diff options
author | Samuel Ghinet <samuel.ghinet@qt.io> | 2023-02-22 19:15:43 +0200 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2023-02-22 17:45:56 +0000 |
commit | 2cfc580f98a15ee0d7c2dc70dcb65c7e89a4fc34 (patch) | |
tree | b27ff46bbf2844e8278614a6a4164a89bd563a91 | |
parent | c6262b8ef5f44ab9f54afca7d2323b1702a7983b (diff) | |
download | qt-creator-2cfc580f98a15ee0d7c2dc70dcb65c7e89a4fc34.tar.gz |
QmlDesigner: Fix textures becoming misaligned in a search
When doing a search, some textures appeared misaligned. This was caused
by the fact that the "invisible" (i.e. hidden) textures had their Image
set correctly as invisible but the delegate itself remained visible.
Task-number: QDS-9234
Change-Id: Ia2cd6f4f6795bb435567b8915e770b78461babed
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r-- | share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml b/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml index 1d2d9852a1..148ecd90ac 100644 --- a/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml +++ b/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml @@ -23,6 +23,8 @@ Item { property alias progressValue: progressBar.value property alias progressText: progressLabel.text + visible: root.delegateVisible + signal showContextMenu() function statusText() |