Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Dafault open to Warband Bank when visiting actual bank #715

Open
Weetbix813 opened this issue Oct 1, 2024 · 1 comment
Open
Assignees

Comments

@Weetbix813
Copy link

Describe the feature

I'd really like to default to the first tab of my Warband Bank account instead of that character's bank tabs when I go to the actual bank.
Thanks!

Describe the implementation

When I go to the config options there would be a check box or something for "Default to Warband bank when opening bank"

@marco-vrinssen
Copy link

@Cidan, the following does the trick.

local function OpenWarbandBank()
BankFrameTab3:Click()
end

local BankFrameEvents = CreateFrame("Frame")
BankFrameEvents:RegisterEvent("BANKFRAME_OPENED")
BankFrameEvents:SetScript("OnEvent", function()
C_Timer.After(0, OpenWarbandBank)
end)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To Triage
Development

No branches or pull requests

3 participants