from retail
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user