firstrun: replace default by cancel button

This commit is contained in:
shagu
2025-07-20 23:19:57 +02:00
parent a814962082
commit 2f68621fa2
+2 -3
View File
@@ -109,10 +109,9 @@ pfUI:RegisterModule("firstrun", "vanilla:tbc", function ()
f.abort:SetWidth(80) f.abort:SetWidth(80)
f.abort:SetHeight(20) f.abort:SetHeight(20)
f.abort:SetPoint("BOTTOMRIGHT", f.progress.backdrop, "BOTTOMLEFT", -8, 0) f.abort:SetPoint("BOTTOMRIGHT", f.progress.backdrop, "BOTTOMLEFT", -8, 0)
f.abort:SetText(T["Defaults"]) f.abort:SetText(T["Cancel"])
f.abort:SetScript("OnClick", function() f.abort:SetScript("OnClick", function()
autoconfig = true f:Hide()
f.next:Click()
end) end)
SkinButton(f.abort) SkinButton(f.abort)
f:Hide() f:Hide()