summaryrefslogtreecommitdiff
path: root/src/gui/widgets/dropshortcutcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-08 21:58:28 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-08 21:58:28 +0300
commite60ac0a6bc0fd662cb7a5834896b3953a1bd07e8 (patch)
treebc6d19dd70af21143f1273b7f3120e91a499d787 /src/gui/widgets/dropshortcutcontainer.cpp
parent6b18411ee5855acdbce2e0ab5dd508cb07b04706 (diff)
downloadmanaplus-e60ac0a6bc0fd662cb7a5834896b3953a1bd07e8.tar.gz
manaplus-e60ac0a6bc0fd662cb7a5834896b3953a1bd07e8.tar.bz2
manaplus-e60ac0a6bc0fd662cb7a5834896b3953a1bd07e8.tar.xz
manaplus-e60ac0a6bc0fd662cb7a5834896b3953a1bd07e8.zip
Unselect item in inventory if it was added to drops or shortcuts window.
Diffstat (limited to 'src/gui/widgets/dropshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/dropshortcutcontainer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/dropshortcutcontainer.cpp b/src/gui/widgets/dropshortcutcontainer.cpp
index 8c6aec68a..167ba2b5a 100644
--- a/src/gui/widgets/dropshortcutcontainer.cpp
+++ b/src/gui/widgets/dropshortcutcontainer.cpp
@@ -220,6 +220,7 @@ void DropShortcutContainer::mousePressed(gcn::MouseEvent &event)
{
dropShortcut->setItem(index);
dropShortcut->setItemSelected(-1);
+ inventoryWindow->unselectItem();
}
else if (dropShortcut->getItem(index))
{