Fixes (5)

This commit is contained in:
Tercio Jose
2022-09-01 19:56:19 -03:00
parent d7b5079129
commit e6511163b7
3 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -5,9 +5,11 @@ local _detalhes = _G._detalhes
function _detalhes:WipeConfig()
local Loc = LibStub ("AceLocale-3.0"):GetLocale ( "Details" )
local b = CreateFrame ("button", "DetailsResetConfigButton", UIParent, "OptionsButtonTemplate")
local b = CreateFrame ("button", "DetailsResetConfigButton", UIParent)
tinsert (UISpecialFrames, "DetailsResetConfigButton")
DetailsFramework:ApplyStandardBackdrop(b)
b:SetSize (250, 40)
b:SetText (Loc ["STRING_SLASH_WIPECONFIG_CONFIRM"])
b:SetScript ("OnClick", function() _detalhes.wipe_full_config = true; ReloadUI(); end)