mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 20:20:01 +00:00
panel: only show addons if component is enabled
This commit is contained in:
+2
-2
@@ -170,9 +170,9 @@ pfUI:RegisterModule("panel", "vanilla:tbc", function()
|
||||
GameTooltip:Show()
|
||||
end
|
||||
widget.Click = function()
|
||||
if pfUI.addons:IsShown() then
|
||||
if pfUI.addons and pfUI.addons:IsShown() then
|
||||
pfUI.addons:Hide()
|
||||
else
|
||||
elseif pfUI.addons then
|
||||
pfUI.addons:Show()
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user