From e60ac0a6bc0fd662cb7a5834896b3953a1bd07e8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 8 Apr 2012 21:58:28 +0300 Subject: Unselect item in inventory if it was added to drops or shortcuts window. --- src/gui/widgets/itemshortcutcontainer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/widgets/itemshortcutcontainer.cpp') 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)) { -- cgit v1.2.3-60-g2f50