diff --git a/2/3/4/5/6/7/ElvUI_Config/Core.lua b/2/3/4/5/6/7/ElvUI_Config/Core.lua index d18828f..ee0ec1c 100644 --- a/2/3/4/5/6/7/ElvUI_Config/Core.lua +++ b/2/3/4/5/6/7/ElvUI_Config/Core.lua @@ -282,9 +282,12 @@ local function ExportImport_Open(mode) frame:AddChild(exportButton) box.editBox:SetScript("OnChar", function() box:SetText(exportString) box.editBox:HighlightText() end) - box.editBox:SetScript("OnTextChanged", function(self) - box:SetText(exportString) - box.editBox:HighlightText() + box.editBox:SetScript("OnTextChanged", function() + if this then + box:SetText(exportString) + box.editBox:HighlightText() + end + box.scrollFrame:UpdateScrollChildRect() end) elseif(mode == "import") then frame:SetTitle(L["Import Profile"])