aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/UI/UIControl_SlotList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/Common/UI/UIControl_SlotList.cpp')
-rw-r--r--Minecraft.Client/Common/UI/UIControl_SlotList.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Minecraft.Client/Common/UI/UIControl_SlotList.cpp b/Minecraft.Client/Common/UI/UIControl_SlotList.cpp
index e2130431..01d7b9e5 100644
--- a/Minecraft.Client/Common/UI/UIControl_SlotList.cpp
+++ b/Minecraft.Client/Common/UI/UIControl_SlotList.cpp
@@ -22,6 +22,13 @@ bool UIControl_SlotList::setupControl(UIScene *scene, IggyValuePath *parent, con
return success;
}
+void UIControl_SlotList::ReInit()
+{
+ UIControl_Base::ReInit();
+
+ m_lastHighlighted = -1;
+}
+
void UIControl_SlotList::addSlot(int id)
{
IggyDataValue result;