clearfocus is what we need...

This commit is contained in:
Meow
2026-03-07 19:43:59 +01:00
parent 73858d79a7
commit 5aa4dcf151
+2 -4
View File
@@ -1052,10 +1052,8 @@ pfUI:RegisterModule("bags", "vanilla:tbc", function ()
end
end)
frame.search.edit:SetScript("OnLeave", function()
if GetMouseFocus() ~= this then
this:ClearFocus()
end
frame.search:SetScript("OnLeave", function()
frame.search.edit:ClearFocus()
end)
frame.search:SetScript("OnHide", function()