added back highlight on focus gain in edit boxes (but double click also remains

This commit is contained in:
Manuel Simon Hirsig
2016-05-06 09:35:43 +02:00
parent 2edf39c4ef
commit a49bdd8317
3 changed files with 20 additions and 11 deletions
+2
View File
@@ -368,6 +368,7 @@ function public.on_load()
this:ClearFocus()
end)
editbox:SetScript('OnEditFocusGained', function()
this:HighlightText()
this.pretty:Hide()
end)
editbox:SetScript('OnEditFocusLost', function()
@@ -411,6 +412,7 @@ function public.on_load()
this:ClearFocus()
end)
editbox:SetScript('OnEditFocusGained', function()
this:HighlightText()
this.pretty:Hide()
end)
editbox:SetScript('OnEditFocusLost', function()