summaryrefslogtreecommitdiff
path: root/src/gui/popups/itempopup.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-02 19:47:56 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-02 19:47:56 +0300
commit9b1fed5643a2447495cf4b43309a23ada7901c03 (patch)
tree99fbca32626d62829c0aaec61e1b7729e4fb9f31 /src/gui/popups/itempopup.h
parentf1f892998b7edd7b939b61ecc4878ef10b7f688b (diff)
downloadmv-9b1fed5643a2447495cf4b43309a23ada7901c03.tar.gz
mv-9b1fed5643a2447495cf4b43309a23ada7901c03.tar.bz2
mv-9b1fed5643a2447495cf4b43309a23ada7901c03.tar.xz
mv-9b1fed5643a2447495cf4b43309a23ada7901c03.zip
fix itempopup update if old and new item is unknown.
Diffstat (limited to 'src/gui/popups/itempopup.h')
-rw-r--r--src/gui/popups/itempopup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/popups/itempopup.h b/src/gui/popups/itempopup.h
index 9c9e21f58..ac4683938 100644
--- a/src/gui/popups/itempopup.h
+++ b/src/gui/popups/itempopup.h
@@ -70,6 +70,7 @@ class ItemPopup final : public Popup
ItemType mItemType;
Icon *mIcon;
std::string mLastName;
+ int mLastId;
unsigned char mLastColor;
void setLabelColor(Label *label, const ItemType type) const;