summaryrefslogtreecommitdiff
path: root/src/item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.cpp')
-rw-r--r--src/item.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/item.cpp b/src/item.cpp
index 90ca9ea35..f686f5cf6 100644
--- a/src/item.cpp
+++ b/src/item.cpp
@@ -68,6 +68,7 @@ Item::~Item()
mDrawImage->decRef();
mDrawImage = nullptr;
}
+ dragDrop.clearItem(this);
}
void Item::setId(const int id, const unsigned char color)