Maybe game itself, you are in gamepad mode here.. you should be in keyboard.
And this line is (the 26th line) .. called by InitializeEvents() which is only called by ZO_GamepadStoreRepair:Initialize(scene) ..
Lua Code:
ZO_GamepadStoreRepair = ZO_GamepadStoreListComponent:Subclass()
function ZO_GamepadStoreRepair:New(...)
return ZO_GamepadStoreListComponent.New(self, ...)
end
function ZO_GamepadStoreRepair:Initialize(scene)
ZO_GamepadStoreListComponent.Initialize(self, scene, ZO_MODE_STORE_REPAIR, GetString(SI_STORE_MODE_REPAIR))
self.fragment:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self.list:UpdateList()
end
end)
self:InitializeEvents()
self:InitializeKeybindStrip()
self:CreateModeData(SI_STORE_MODE_REPAIR, ZO_MODE_STORE_REPAIR, "EsoUI/Art/Vendor/vendor_tabIcon_repair_up.dds", fragment, self.keybindStripDescriptor)
self.list:SetNoItemText(GetString(SI_GAMEPAD_NO_DAMAGED_ITEMS))
end
function ZO_GamepadStoreRepair:InitializeEvents()
local OnInventoryUpdated = function(eventId, bagId, slotId, isNewItem, soundCategory, reason)
if not self.control:IsControlHidden() then
if reason == INVENTORY_UPDATE_REASON_DURABILITY_CHANGE then
self.list:UpdateList()