Skip to content

Commit

Permalink
Added cleanup warbanks menu option for banks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cidan committed Jul 31, 2024
1 parent 0b2f62c commit 869a189
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions frames/contextmenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,16 @@ function contextMenu:CreateContextMenu(bag)
DepositReagentBank()
end
})
table.insert(menuList, {
text = L:G("Clean Up Warbank"),
notCheckable = true,
tooltipTitle = L:G("Clean Up Warbank"),
tooltipText = L:G("Click to clean up your Warbanks and resort items into correct tabs."),
func = function()
PlaySound(SOUNDKIT.IG_BACKPACK_CLOSE)
C_Container.SortAccountBankBags()
end
})
end

-- Show bag slot toggle.
Expand Down

0 comments on commit 869a189

Please sign in to comment.