ingame/inventory/inventory.lua:2626 -- BANK_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
if self.inventories[INVENTORY_BANK].searchBox then
self.inventories[INVENTORY_BANK].searchBox:SetText(TEXT_SEARCH_MANAGER:GetSearchText(self.inventories[INVENTORY_BANK].currentContext))
end
self:RefreshMoney()
self:UpdateFreeSlots(INVENTORY_BANK)
if self.isListDirty[INVENTORY_BANK] then
local UPDATE_EVEN_IF_HIDDEN = true
self:UpdateList(INVENTORY_BANK, UPDATE_EVEN_IF_HIDDEN)
end
end
end)