AdiBags

AdiBags

8M Downloads

Right-clicking reagent section in bag sends to bank, not reagent bank

SpareSimian opened this issue ยท 1 comments

commented

Addon Version

v1.10.19

World of Warcraft Version

Retail

Describe the bug

Wrong bank section targeted.

Steps to reproduce

Switching the bank view to reagent bank (R button) and right-clicking the section title of one's inventory bag for a reagent section (eg. "Shadowlands - Leather") sends the items to the main bank, not the reagent bank. Right-clicking Individual slots sends the items to the reagent bank.

I keep reagents for different professions on different characters. My LW/skinner's bag was full of reagents for other professions and I hadn't yet mailed them out. I wanted to dump her own mats into her reagent bank and figured I could just hit R and then the section title. Hitting D to deposit all reagents isn't desired because my next stop was the mailbox to send all the others to other toons with the proper professions.

Verification

  • I have disabled all other addons and made sure this bug is triggered only with AdiBags enabled
commented

It looks like the relevant code is in BankSwitcher.lua, routine mod:OnClickSectionHeader. UseContainerItem needs a 4th argument (default false) to indicate that the reagent bank is open. I haven't yet found an API to detect if the reagent bank is open.