diff --git a/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml b/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml index ac98bb40faa..f1d7b8a78d0 100644 --- a/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml +++ b/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml @@ -165,7 +165,10 @@ Item { } } - onClicked: { + onClicked: (mouse) => { + if (mouse.button !== Qt.LeftButton) + return + if (root.downloadState !== "" && root.downloadState !== "failed") return