diff --git a/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml b/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml index f1d7b8a78d0..1d2d9852a18 100644 --- a/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml +++ b/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml @@ -160,7 +160,7 @@ Item { if (mouse.button === Qt.LeftButton) { if (root.downloadState === "downloaded") rootView.startDragTexture(modelData, mapToGlobal(mouse.x, mouse.y)) - } else if (mouse.button === Qt.RightButton) { + } else if (mouse.button === Qt.RightButton && root.downloadState === "downloaded") { root.showContextMenu() } }