WoW-Pro Guides

WoW-Pro Guides

3M Downloads

Remember if the Addon is enabled/disabled when logging in

Twists opened this issue ยท 3 comments

commented

Submitted by Lulia on Sun, 2010-12-19 18:26.

Disabling the AddOn whenever I log-in feels a bit silly! I know that I can simply disable it from Blizzard's menu and it will remain permanent, but I like being able to disable and enable the functionality of an AddOn in-game. As I'm not currently doing any questing which would require WoW-Pro, I find that I have no need of it on my Paladin, but when I uncheck "Enable AddOn" it simply loads in again enabled when I log-out and log back in. A fix would certainly be pleasant. :)

commented

I really do intend to fix this, but I don't think I'll have time to for this update. Sorry, I know it's annoying! I'll try to get it fixed before too much longer.

commented

While adding the option to hide the UI when entering Instances, I stumbled across the root cause for this bug. Using:
if WoWPro.Leveling:IsEnabled() then WoWPro.Leveling:Disable() else WoWPro.Leveling:Enable() end
is not persistent. You need to store the state in WoWProCharDB. I'll push the fix once I test it.

commented

Resolved in commit 2c87176