mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 13:30:50 +00:00
gui: run config checks on profile loading
This commit is contained in:
@@ -632,6 +632,7 @@ pfUI:RegisterModule("gui", function ()
|
|||||||
CreateQuestionDialog(T["Load profile"] .. " '|cff33ffcc" .. C.global.profile .. "|r'?", function()
|
CreateQuestionDialog(T["Load profile"] .. " '|cff33ffcc" .. C.global.profile .. "|r'?", function()
|
||||||
local selp = C.global.profile
|
local selp = C.global.profile
|
||||||
_G["pfUI_config"] = CopyTable(pfUI_profiles[C.global.profile])
|
_G["pfUI_config"] = CopyTable(pfUI_profiles[C.global.profile])
|
||||||
|
pfUI:LoadConfig()
|
||||||
C.global.profile = selp
|
C.global.profile = selp
|
||||||
ReloadUI()
|
ReloadUI()
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user