internalingame/market/gamepad/marketdialogs_gamepad.lua:110 -- self.marketPurchaseScene:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWN then
local queuedDialogInfo = self.queuedDialogInfo
if queuedDialogInfo then
ZO_Dialogs_ShowGamepadDialog(queuedDialogInfo.dialogName, queuedDialogInfo.dialogData, queuedDialogInfo.dialogParams)
end
elseif newState == SCENE_HIDDEN then
if self.isPreviewingMarketProductPlacement then
self.isPreviewingMarketProductPlacement = nil
ZO_ReturnToHousingEditorBrowseMode()
end
end
end)