Skip to content

Commit 03d8262

Browse files
LocalIdentityLocalIdentity
andauthored
Add Shift + Ctrl + V to bypass item import confirmation box (#624)
Adds the keybind to quickly import items into PoB without needing to confirm each time. You can also press enter now to confirm selection Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent 15d7b0d commit 03d8262

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Classes/ItemsTab.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,6 +1069,9 @@ function ItemsTabClass:Draw(viewPort, inputEvents)
10691069
end
10701070
self:CreateDisplayItemFromRaw(newItem, true)
10711071
end
1072+
if self.displayItem and IsKeyDown("SHIFT") then
1073+
self:AddDisplayItem()
1074+
end
10721075
elseif event.key == "e" then
10731076
local mOverControl = self:GetMouseOverControl()
10741077
if mOverControl and mOverControl._className == "ItemSlotControl" and mOverControl.selItemId ~= 0 then
@@ -1094,6 +1097,8 @@ function ItemsTabClass:Draw(viewPort, inputEvents)
10941097
elseif event.key == "d" and IsKeyDown("CTRL") then
10951098
self.showStatDifferences = not self.showStatDifferences
10961099
self.build.buildFlag = true
1100+
elseif self.displayItem and IsKeyDown("RETURN") then
1101+
self:AddDisplayItem()
10971102
end
10981103
end
10991104
end

0 commit comments

Comments
 (0)