Skip to content

Commit

Permalink
Revert "No global names for WeakAurasDisplayButtons and WeakAurasImpo…
Browse files Browse the repository at this point in the history
…rtButtons" as it break login on Cataclysm, fixes WeakAuras#4976

This reverts commit 6334101.
  • Loading branch information
mrbuds committed Apr 1, 2024
1 parent aba64c9 commit 3162b59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1763,7 +1763,8 @@ Constructor
-------------------------------------------------------------------------------]]

local function Constructor()
local button = CreateFrame("Button", nil, UIParent, "OptionsListButtonTemplate");
local name = "WeakAurasDisplayButton"..AceGUI:GetNextWidgetNum(Type);
local button = CreateFrame("Button", name, UIParent, "OptionsListButtonTemplate");
button:SetHeight(32);
button:SetWidth(1000);
button.dgroup = nil;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ Constructor
-------------------------------------------------------------------------------]]

local function Constructor()
local button = CreateFrame("Button", nil, UIParent, "OptionsListButtonTemplate");
local name = "WeakAurasImportButton"..AceGUI:GetNextWidgetNum(Type);
local button = CreateFrame("Button", name, UIParent, "OptionsListButtonTemplate");
button:SetHeight(18);
button:SetWidth(380);
button.dgroup = nil;
Expand Down

0 comments on commit 3162b59

Please sign in to comment.