Skip to content

Commit

Permalink
fix InterfaceOptions_AddCategory error
Browse files Browse the repository at this point in the history
  • Loading branch information
fvoges committed Nov 12, 2024
1 parent f366b28 commit 2584a4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gnobesy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,8 @@ function GNOBESY_MainFrame_OnEvent(self, event, arg)
end

elseif event == "VARIABLES_LOADED" then
InterfaceOptions_AddCategory(GNOBESY_OptionsPanel);
local category = Settings.RegisterCanvasLayoutCategory(self, self.name)
Settings.RegisterAddOnCategory(category)
end
end

Expand Down

0 comments on commit 2584a4d

Please sign in to comment.