mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
fix nil close error on esc
This commit is contained in:
@@ -149,10 +149,10 @@ function B:OpenEditbox()
|
||||
end
|
||||
|
||||
function B:ResetAndClear()
|
||||
local editbox = self:GetParent().editBox or this
|
||||
local editbox = this.editBox or this
|
||||
if editbox then editbox:SetText(SEARCH) end
|
||||
|
||||
self:ClearFocus()
|
||||
editbox:ClearFocus()
|
||||
B:SearchReset()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user