diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-26 20:30:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-26 20:30:22 +0300 |
commit | 6b06a89665fdfa9ecc7179bae827cefae3cb1a77 (patch) | |
tree | d90008a75b6d3d883591ccce196b43c94c3cd67c /src/gui/widgets/itemcontainer.h | |
parent | bcdf34645ff3067d3b4110120b6191af2b0b2e99 (diff) | |
parent | 2ee2f8b060e4fe88feeeba5508189c916e55a70d (diff) | |
download | plus-stable.tar.gz plus-stable.tar.bz2 plus-stable.tar.xz plus-stable.zip |
Merge branch 'master' into stablestable
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r-- | src/gui/widgets/itemcontainer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h index f7bc44849..06e9fd459 100644 --- a/src/gui/widgets/itemcontainer.h +++ b/src/gui/widgets/itemcontainer.h @@ -131,6 +131,9 @@ class ItemContainer final : public Widget, bool getClickCount() const A_WARN_UNUSED { return mClicks; } + void unsetInventory() + { mInventory = nullptr; } + private: enum Direction { |