diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-21 14:40:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-21 14:40:14 +0300 |
commit | 0875a6ddfda9ece1af4a818e38be1f99e578c59a (patch) | |
tree | 7bef19d2a2f41f090be11dfe5a8af88716e7b21c /src/gui/widgets/itemcontainer.cpp | |
parent | 40a60a7bb7fd3291fde0a2a689f674a8169c7b64 (diff) | |
download | plus-0875a6ddfda9ece1af4a818e38be1f99e578c59a.tar.gz plus-0875a6ddfda9ece1af4a818e38be1f99e578c59a.tar.bz2 plus-0875a6ddfda9ece1af4a818e38be1f99e578c59a.tar.xz plus-0875a6ddfda9ece1af4a818e38be1f99e578c59a.zip |
Add to item field favorite.
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index 87c599fb6..732e9e738 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -553,7 +553,9 @@ void ItemContainer::mouseReleased(MouseEvent &event) if (item && !PlayerInfo::isItemProtected(item->getId())) { mInventory->addItem(item->getId(), 1, 1, item->getColor(), - item->getIdentified(), item->getDamaged(), false, false); + item->getIdentified(), item->getDamaged(), + item->getFavorite(), + false, false); } return; } |