From fb479442ab51bf48758b2de9eb95ee12f960cd64 Mon Sep 17 00:00:00 2001 From: Hizuro Date: Sun, 12 May 2024 00:33:18 +0200 Subject: [PATCH] Fix NewFeature check on update menu button --- LibDropDownMenuTemplatesCreate.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibDropDownMenuTemplatesCreate.lua b/LibDropDownMenuTemplatesCreate.lua index e95829f..1423b04 100644 --- a/LibDropDownMenuTemplatesCreate.lua +++ b/LibDropDownMenuTemplatesCreate.lua @@ -217,7 +217,7 @@ end function Update_DropDownMenuButton(name) local button = _G[name]; - if not (button and button.NewFeature) then return end + if (button and button.NewFeature) then return end button.NewFeature = Create_NewFeature(button,"FULLSCREEN_DIALOG",100,1,1,0.8,false); button.NewFeature:SetPoint("LEFT", button.NormalText, "RIGHT", 20, 0);