We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f7d697 commit d22fb32Copy full SHA for d22fb32
Source/Shopping/Hooks.lua
@@ -42,5 +42,8 @@ end
42
-- selection dialog (to replicate, when ChatEdit_InsertLink is manually
43
-- replaced, hold down "c" while pressing [Enter] with the stack dialog open)
44
hooksecurefunc(_G, "ChatEdit_InsertLink", function(text)
45
- SearchItem(text)
+ -- Prevent searching when the user is attempting to link the item in chat
46
+ if GetCurrentKeyBoardFocus() == nil or GetCurrentKeyBoardFocus():GetName() == nil then
47
+ SearchItem(text)
48
+ end
49
end)
0 commit comments