I’m trying to modify an addon that stopped working with 9.0.1 that would show the number of quests in your log on the Objective Tracker’s Quest Header. The header would display “Quests (17)” for example.
After some tweaking and adding in the new C_ namespaces to the necessary functions, the addon works except for one frustrating fact. I’m using the following code to change the Text.
ObjectiveTrackerBlocksFrame.QuestHeader.Text:SetText(quests_count_text)
Nothing appears to happen when I do this, however, if I just pop this into the console in WoW, then I can see the Quest Header Text change:
ObjectiveTrackerBlocksFrame.QuestHeader.Text:SetText(“Test!”)
However, once I change subzones, the Quest Header Text goes right back to just displaying “Quests”
Running this confirms that the text was at least set at the time my addon code was running:
print("Quest Header Text: " … ObjectiveTrackerBlocksFrame.QuestHeader.Text:GetText())
Ultimately this means that the UI is being rather aggressive at resetting the label back to “Quests” well before I can even see the results of my string setting.
So, does anyone know what I can do to make the change to the Quest Header label more permanent?

