diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-07-03 16:00:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-07-03 16:00:30 +0300 |
commit | 7f8fd01cdd56b322c19e58c19d483fb32fb05cb5 (patch) | |
tree | 0330b2853c3a5222ca6aea2d8d4c769ac47a2e31 /src/gui/widgets/itemshortcutcontainer.cpp | |
parent | 2eb15d389f85e300cb124b990ebbf2663acaa637 (diff) | |
download | ManaVerse-7f8fd01cdd56b322c19e58c19d483fb32fb05cb5.tar.gz ManaVerse-7f8fd01cdd56b322c19e58c19d483fb32fb05cb5.tar.bz2 ManaVerse-7f8fd01cdd56b322c19e58c19d483fb32fb05cb5.tar.xz ManaVerse-7f8fd01cdd56b322c19e58c19d483fb32fb05cb5.zip |
fix drag and drop inside some windows.
Diffstat (limited to 'src/gui/widgets/itemshortcutcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemshortcutcontainer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp index ec0776f36..517c783a0 100644 --- a/src/gui/widgets/itemshortcutcontainer.cpp +++ b/src/gui/widgets/itemshortcutcontainer.cpp @@ -386,6 +386,8 @@ void ItemShortcutContainer::mouseReleased(gcn::MouseEvent &event) selShortcut->setItem(index, dragDrop.getItem(), dragDrop.getItemColor()); } + dragDrop.clear(); + dragDrop.deselect(); } mItemClicked = false; |