diff --git a/frame/item/appitem.cpp b/frame/item/appitem.cpp index 421402830..865b92541 100644 --- a/frame/item/appitem.cpp +++ b/frame/item/appitem.cpp @@ -475,6 +475,7 @@ void AppItem::startDrag() // handle drag finished here connect(m_drag->appDragWidget(), &AppDragWidget::destroyed, this, [=] { m_dragging = false; + m_drag.clear(); setVisible(true); update(); });