diff options
Diffstat (limited to 'src/gui/widgets/itemshortcutcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemshortcutcontainer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp index a6f7f60a3..4d9e6dd2d 100644 --- a/src/gui/widgets/itemshortcutcontainer.cpp +++ b/src/gui/widgets/itemshortcutcontainer.cpp @@ -297,6 +297,7 @@ void ItemShortcutContainer::mousePressed(gcn::MouseEvent &event) itemShortcut[mNumber]->setItemSelected(-1); if (spellShortcut) spellShortcut->setItemSelected(-1); + inventoryWindow->unselectItem(); } else if (itemShortcut[mNumber]->getItem(index)) { |