From 907a64ac324f5038ffe809891edbdf3b3b5fe32f Mon Sep 17 00:00:00 2001 From: Samuel Ghinet Date: Fri, 25 Nov 2022 15:32:58 +0200 Subject: [PATCH] Fix bug: drag state remain on after dragging asset to texture Task-number: QDS-8341 Change-Id: If9bc7c0e3f2e017df4fde2cf94e7ffc168644eef Reviewed-by: Mahmoud Badri --- .../qmldesigner/components/textureeditor/textureeditorview.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/qmldesigner/components/textureeditor/textureeditorview.cpp b/src/plugins/qmldesigner/components/textureeditor/textureeditorview.cpp index 9384c9baf75..67779743da6 100644 --- a/src/plugins/qmldesigner/components/textureeditor/textureeditorview.cpp +++ b/src/plugins/qmldesigner/components/textureeditor/textureeditorview.cpp @@ -854,6 +854,7 @@ void TextureEditorView::dragStarted(QMimeData *mimeData) void TextureEditorView::dragEnded() { highlightSupportedProperties(false); + m_qmlBackEnd->contextObject()->setActiveDragSuffix(""); } // from model to texture editor