diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-01 14:20:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-01 14:24:08 +0300 |
commit | 69108c8a2892cf87a3d425b5e82e0eadbb5f7fa9 (patch) | |
tree | a9c8835f20ef4f118181f97166bc7a52a1e48314 /src/item.cpp | |
parent | c65c2a8130c7748a2b8eee03ff716bd9db699d79 (diff) | |
download | mv-69108c8a2892cf87a3d425b5e82e0eadbb5f7fa9.tar.gz mv-69108c8a2892cf87a3d425b5e82e0eadbb5f7fa9.tar.bz2 mv-69108c8a2892cf87a3d425b5e82e0eadbb5f7fa9.tar.xz mv-69108c8a2892cf87a3d425b5e82e0eadbb5f7fa9.zip |
clear drag selection if selected item removed.
Diffstat (limited to 'src/item.cpp')
-rw-r--r-- | src/item.cpp | 1 |
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) |