AtlasLootClassic

AtlasLootClassic

38M Downloads

A fix for "Favourites Window not displaying content"

willbraden opened this issue ยท 0 comments

commented

AtlasLoot version
3.2.0

Issue Description

When opening the Favorites window in AtlasLootClassic (Classic Era), the GUI fails to load due to an incompatible checkbox template.

Error Message

CreateFrame(): Couldn't find inherited node "OptionsCheckButtonTemplate"

Solution

The issue was fixed by modifying GUI/Template_CheckBox.lua to use UICheckButtonTemplate instead of OptionsCheckButtonTemplate. This template is available in WoW Classic Era, while the original template is not.

Fix Details

In GUI/Template_CheckBox.lua, change:

self.frame = CreateFrame("CheckButton", frameName, nil, "OptionsCheckButtonTemplate")

to:

self.frame = CreateFrame("CheckButton", frameName, nil, "UICheckButtonTemplate")

Technical Details

  • Game Version: WoW Classic Era
  • Addon Version: AtlasLootClassic
  • File Affected: GUI/Template_CheckBox.lua

This change allows the Favorites window to open and function properly without any errors.