mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-29 18:56:02 +00:00
addons: add event to prevent empty list
This commit is contained in:
@@ -59,6 +59,7 @@ pfUI:RegisterModule("addons", function ()
|
||||
-- list
|
||||
pfUI.addons.list = CreateFrame("Frame", "pfAddonList", pfUI.addons)
|
||||
pfUI.addons.list:RegisterEvent("ADDON_LOADED")
|
||||
pfUI.addons.list:RegisterEvent("PLAYER_ENTERING_WORLD")
|
||||
pfUI.addons.list:SetHeight(GetNumAddOns() * 25)
|
||||
pfUI.addons.list:SetWidth(350)
|
||||
pfUI.addons.list:SetPoint("CENTER", 0,0)
|
||||
|
||||
Reference in New Issue
Block a user