We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79e545f commit f3ea18bCopy full SHA for f3ea18b
NoAutoclose.lua
@@ -480,12 +480,11 @@ function ns:initOptions()
480
end);
481
482
local category, _ = Settings.RegisterCanvasLayoutCategory(panel, panel.name);
483
- category.ID = panel.name;
484
Settings.RegisterAddOnCategory(category);
485
486
SLASH_NOAUTOCLOSE1 = '/noautoclose';
487
SLASH_NOAUTOCLOSE2 = '/nac';
488
- SlashCmdList['NOAUTOCLOSE'] = function() Settings.OpenToCategory(panel.name); end;
+ SlashCmdList['NOAUTOCLOSE'] = function() Settings.OpenToCategory(category:GetID()); end;
489
end
490
491
function ns:GetMoverFrame(onMoveCallback)
0 commit comments