summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-04 19:06:23 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-04 19:35:23 +0300
commit2e752adf979e74f9a4b919bbc88929a7bf3adf25 (patch)
treecd8b5f370e0c86dc08a487a9721971da8bd491d8 /src/gui/widgets/itemcontainer.cpp
parente668ab141d6b006b790d2b0a8fc515d13b78317e (diff)
downloadplus-2e752adf979e74f9a4b919bbc88929a7bf3adf25.tar.gz
plus-2e752adf979e74f9a4b919bbc88929a7bf3adf25.tar.bz2
plus-2e752adf979e74f9a4b919bbc88929a7bf3adf25.tar.xz
plus-2e752adf979e74f9a4b919bbc88929a7bf3adf25.zip
Add support for colors in outfits window.
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r--src/gui/widgets/itemcontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index d4cecced2..589cb376a 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -344,7 +344,7 @@ void ItemContainer::mousePressed(gcn::MouseEvent &event)
if (dropShortcut)
dropShortcut->setItemSelected(item->getId());
if (item->isEquipment() && outfitWindow)
- outfitWindow->setItemSelected(item->getId());
+ outfitWindow->setItemSelected(item);
if (shopWindow)
shopWindow->setItemSelected(item->getId());
}