This commit is contained in:
Parnic
2009-01-01 17:54:00 +00:00
parent 84299bfba3
commit e979bb9345
2 changed files with 6 additions and 6 deletions

View File

@ -209,11 +209,6 @@ end
-- Configuration methods -- -- Configuration methods --
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
function IceCore.prototype:ResetSettings()
self:ResetDB()
ReloadUI()
end
function IceCore.prototype:GetVerticalPos() function IceCore.prototype:GetVerticalPos()
return self.settings.verticalPos return self.settings.verticalPos
end end

View File

@ -549,7 +549,7 @@ StaticPopupDialogs["ICEHUD_RESET"] =
whileDead = 1, whileDead = 1,
hideOnEscape = 1, hideOnEscape = 1,
OnAccept = function() OnAccept = function()
IceHUD.IceCore:ResetSettings() IceHUD:ResetSettings()
end end
} }
@ -600,6 +600,11 @@ function IceHUD:OnEnable(isFirst)
end end
end end
function IceHUD:ResetSettings()
self:ResetDB()
ReloadUI()
end
-- fubar stuff -- fubar stuff
IceHUD.OnMenuRequest = IceHUD.options IceHUD.OnMenuRequest = IceHUD.options
IceHUD.hasIcon = "Interface\\Icons\\Spell_Frost_Frost" IceHUD.hasIcon = "Interface\\Icons\\Spell_Frost_Frost"