gui: run config checks on profile loading

This commit is contained in:
shagu
2018-01-31 21:20:09 +01:00
parent a72992c012
commit 2ab74b1f3d
+1
View File
@@ -632,6 +632,7 @@ pfUI:RegisterModule("gui", function ()
CreateQuestionDialog(T["Load profile"] .. " '|cff33ffcc" .. C.global.profile .. "|r'?", function()
local selp = C.global.profile
_G["pfUI_config"] = CopyTable(pfUI_profiles[C.global.profile])
pfUI:LoadConfig()
C.global.profile = selp
ReloadUI()
end)