Skip to content

Commit

Permalink
Shift-click on bags close button to restack items.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetxius committed Oct 21, 2020
1 parent 881db7d commit ab9aa6b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ShestakUI/Modules/Blizzard/Bags.lua
Expand Up @@ -825,6 +825,13 @@ function Stuffing:CreateBagFrame(w)
end
ToggleDropDownMenu(nil, nil, Stuffing_DDMenu, self:GetName(), 0, 0)
return
elseif btn == "LeftButton" and IsShiftKeyDown() then
if InCombatLockdown() then
print("|cffffff00"..ERR_NOT_IN_COMBAT.."|r") return
end
Stuffing:SetBagsForSorting("d")
Stuffing:Restack()
return
end
self:GetParent():Hide()
end)
Expand Down

0 comments on commit ab9aa6b

Please sign in to comment.