api: add config profile variable

This commit is contained in:
shagu
2016-12-23 19:43:25 +01:00
parent 5a0395e2be
commit b9761c6e5d
3 changed files with 7 additions and 1 deletions
+5
View File
@@ -40,6 +40,11 @@ pfUI:SetScript("OnEvent", function()
pfUI_init = {}
end
if not pfUI_profiles then
pfUI_profiles = {}
pfUI_profiles["default"] = pfUI_config
end
pfUI:LoadConfig()
-- reload environment