mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 10:26:02 +00:00
config: use modern profile as default
This commit is contained in:
@@ -300,6 +300,11 @@ pfUI:SetScript("OnEvent", function()
|
||||
pfUI.version.fix = tonumber(fix) or 0
|
||||
pfUI.version.string = pfUI.version.major .. "." .. pfUI.version.minor .. "." .. pfUI.version.fix
|
||||
|
||||
-- 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"])
|
||||
end
|
||||
|
||||
pfUI:LoadConfig()
|
||||
pfUI:MigrateConfig()
|
||||
pfUI:UpdateFonts()
|
||||
|
||||
Reference in New Issue
Block a user