From 4176358bfa44ebca91df2395a8a0c5781446ed86 Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Wed, 11 Mar 2026 15:06:51 +0100 Subject: [PATCH] changed mouse on leave to mouse on right click for search window to cancel it- --- modules/bags.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/bags.lua b/modules/bags.lua index d2ea5173..28f28d6e 100644 --- a/modules/bags.lua +++ b/modules/bags.lua @@ -1071,8 +1071,8 @@ pfUI:RegisterModule("bags", "vanilla:tbc", function () end end) - frame.search.edit:SetScript("OnLeave", function() - if GetMouseFocus() ~= this then + frame.search.edit:SetScript("OnMouseUp", function() + if arg1 == "RightButton" then this:ClearFocus() end end)