update Export

This commit is contained in:
Crum
2018-01-05 10:13:29 -06:00
parent e46bf17147
commit 6cba6bafba
+6 -3
View File
@@ -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"])