mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-21 20:00:48 +00:00
gui: remove wizard data on configuration reset
This commit is contained in:
+2
-1
@@ -620,7 +620,7 @@ pfUI:RegisterModule("gui", function ()
|
|||||||
function()
|
function()
|
||||||
_G["pfUI_init"] = {}
|
_G["pfUI_init"] = {}
|
||||||
this:GetParent():Hide()
|
this:GetParent():Hide()
|
||||||
pfUI.gui:Reload()
|
pfUI.firstrun:NextStep()
|
||||||
end)
|
end)
|
||||||
end, true)
|
end, true)
|
||||||
|
|
||||||
@@ -628,6 +628,7 @@ pfUI:RegisterModule("gui", function ()
|
|||||||
CreateQuestionDialog(T["Do you really want to reset your configuration?\nThis also includes frame positions"],
|
CreateQuestionDialog(T["Do you really want to reset your configuration?\nThis also includes frame positions"],
|
||||||
function()
|
function()
|
||||||
_G["pfUI_config"] = {}
|
_G["pfUI_config"] = {}
|
||||||
|
_G["pfUI_init"] = {}
|
||||||
pfUI:LoadConfig()
|
pfUI:LoadConfig()
|
||||||
this:GetParent():Hide()
|
this:GetParent():Hide()
|
||||||
pfUI.gui:Reload()
|
pfUI.gui:Reload()
|
||||||
|
|||||||
Reference in New Issue
Block a user