ingame/quickslot/gamepad/quickslot_gamepad.lua:57 -- GAMEPAD_QUICKSLOT_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
self:RefreshHeader()
local UNSLOT_PENDING_ENTRY = true
self.wheel:Show(UNSLOT_PENDING_ENTRY)
KEYBIND_STRIP:AddKeybindButtonGroup(self.navigationKeybindDescriptor)
elseif newState == SCENE_HIDING then
self.wheel:Hide()
elseif newState == SCENE_HIDDEN then
GAMEPAD_TOOLTIPS:Reset(GAMEPAD_LEFT_TOOLTIP)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.navigationKeybindDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.assignKeybindDescriptor)
end
end)