from retail

This commit is contained in:
Bunny67
2020-07-16 23:23:54 +03:00
parent 85345af8a2
commit f9dab14beb
41 changed files with 3843 additions and 3869 deletions
@@ -727,22 +727,20 @@ local function ConstructTextEditor(frame)
if (self.reloadOptions) then
if (self.data.controlledChildren) then
for index, childId in pairs(self.data.controlledChildren) do
WeakAuras.ScheduleReloadOptions(WeakAuras.GetData(childId))
WeakAuras.ClearAndUpdateOptions(childId)
end
WeakAuras.ScheduleReloadOptions(self.data)
WeakAuras.ClearAndUpdateOptions(self.data.id)
else
WeakAuras.ScheduleReloadOptions(self.data)
WeakAuras.ClearAndUpdateOptions(self.data.id)
end
else
WeakAuras.ScheduleReloadOptions(self.data)
WeakAuras.ClearAndUpdateOptions(self.data.id)
end
editor.editBox:SetScript("OnTextChanged", self.oldOnTextChanged)
editor:ClearFocus()
frame.window = "default"
frame:UpdateFrameVisible()
frame:RefreshPick()
end
WeakAuras.editor = editor
@@ -752,4 +750,4 @@ end
function WeakAuras.TextEditor(frame)
textEditor = textEditor or ConstructTextEditor(frame)
return textEditor
end
end