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
end) end)
frame.search.edit:SetScript("OnLeave", function() frame.search:SetScript("OnLeave", function()
if GetMouseFocus() ~= this then frame.search.edit:ClearFocus()
this:ClearFocus()
end
end) end)
frame.search:SetScript("OnHide", function() frame.search:SetScript("OnHide", function()