summaryrefslogtreecommitdiff
path: root/src/gui/widgets/dropshortcutcontainer.cpp
diff options
context:
space:
mode:
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))
{