Thread: AceDB Resetting
View Single Post
08-08-16, 07:45 AM   #7
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
About your profiles, here's another tip. You don't even need to have the word "Profiles" at all. Again, Ace3 will do stuff automatically for you. The second line is optional. I have it because I want my Profiles tab to be the last tab, and since I have 5 tabs in my options table, setting the order to 90 ensures that.
Code:
options.args.profiles = LibStub("AceDBOptions-3.0"):GetOptionsTable(self.db)
options.args.profiles.order = 90
  Reply With Quote