From f49bf4f1a92832347b27367f81b856cef9024a12 Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Sat, 11 Apr 2026 21:24:36 +0200 Subject: [PATCH] Skip firstrun if importing shared profile --- modules/share.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/share.lua b/modules/share.lua index b435f557..acc3a044 100644 --- a/modules/share.lua +++ b/modules/share.lua @@ -391,6 +391,15 @@ pfUI:RegisterModule("share", "vanilla:tbc", function () if not error and f.scroll.text:GetText() ~= "" then ImportConfig() pfUI:LoadConfig() + + -- Skip firstrun wizard when importing a shared profile + -- The imported config is a complete setup, no wizard needed + if pfUI.firstrun and pfUI.firstrun.steps then + for _, step in pairs(pfUI.firstrun.steps) do + pfUI_init[step.name] = true + end + end + CreateQuestionDialog(T["Some settings need to reload the UI to take effect.\nDo you want to reloadUI now?"], ReloadUI) end end)