Fixed issues with position saving and reseting profiles
This commit is contained in:
@@ -128,6 +128,12 @@ function Bartender4:RegisterDefaultsKey(key, subdefaults)
|
||||
end
|
||||
|
||||
function Bartender4:UpdateModuleConfigs()
|
||||
local unlock = false
|
||||
if not self.Locked then
|
||||
self:Lock()
|
||||
unlock = true
|
||||
end
|
||||
|
||||
for k,v in AceAddon:IterateModulesOfAddon(self) do
|
||||
v:ToggleModule()
|
||||
if v:IsEnabled() and type(v.ApplyConfig) == "function" then
|
||||
@@ -137,6 +143,10 @@ function Bartender4:UpdateModuleConfigs()
|
||||
if LDB and LDBIcon then
|
||||
LDBIcon:Refresh("Bartender4", Bartender4.db.profile.minimapIcon)
|
||||
end
|
||||
|
||||
if unlock then
|
||||
self:Unlock()
|
||||
end
|
||||
end
|
||||
|
||||
function Bartender4:CombatLockdown()
|
||||
|
||||
Reference in New Issue
Block a user