Fix bug: drag state remain on after dragging asset to texture

Task-number: QDS-8341
Change-Id: If9bc7c0e3f2e017df4fde2cf94e7ffc168644eef
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
Samuel Ghinet
2022-11-25 15:32:58 +02:00
parent 21c659400a
commit 907a64ac32

View File

@@ -854,6 +854,7 @@ void TextureEditorView::dragStarted(QMimeData *mimeData)
void TextureEditorView::dragEnded()
{
highlightSupportedProperties(false);
m_qmlBackEnd->contextObject()->setActiveDragSuffix("");
}
// from model to texture editor