From ee61e306f2e88e407970e1197b3610ac1d503067 Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 6 May 2021 10:23:52 +0200 Subject: [PATCH] actionbar: attach pagemaster to bars table --- modules/actionbar.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/actionbar.lua b/modules/actionbar.lua index ae6771b2..ff609a10 100644 --- a/modules/actionbar.lua +++ b/modules/actionbar.lua @@ -920,9 +920,9 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function () local modifier = { "ALT", "SHIFT", "CTRL" } local buttons = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-", "+", "=", "ยด" } local current = CURRENT_ACTIONBAR_PAGE - bar.pagemaster = bar.pagemaster or CreateFrame("Frame", "pfPageMaster", UIParent) - bar.pagemaster:RegisterEvent("PLAYER_ENTERING_WORLD") - bar.pagemaster:SetScript("OnEvent", function() + bars.pagemaster = bars.pagemaster or CreateFrame("Frame", "pfPageMaster", UIParent) + bars.pagemaster:RegisterEvent("PLAYER_ENTERING_WORLD") + bars.pagemaster:SetScript("OnEvent", function() for _,mod in pairs(modifier) do for _,but in pairs(buttons) do SetBinding(mod.."-"..but)