mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
core: use empty config variable as fallback
This commit is contained in:
@@ -302,7 +302,7 @@ pfUI:SetScript("OnEvent", function()
|
||||
|
||||
-- use "Modern" as default profile on a fresh install
|
||||
if pfUI.api.isempty(pfUI_init) and pfUI.api.isempty(pfUI_config) then
|
||||
pfUI_config = pfUI.api.CopyTable(pfUI_profiles["Modern"])
|
||||
pfUI_config = pfUI.api.CopyTable(pfUI_profiles["Modern"]) or {}
|
||||
end
|
||||
|
||||
pfUI:LoadConfig()
|
||||
|
||||
Reference in New Issue
Block a user