From 6e1f8095a25a2e72c6ff264e735f6fa67ec6da07 Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Mon, 10 Aug 2026 09:53:34 -0500 Subject: [PATCH] Allow whitespace-only macro names strtrim collapsed a name like " " to "" and the empty guard then rejected the save, but a whitespace-only name is valid in vanilla and a common way to make a name-less macro. Save the raw text and only reject a truly empty box. --- modules/macroicons.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/macroicons.lua b/modules/macroicons.lua index 3ab134fa..a5a200a9 100644 --- a/modules/macroicons.lua +++ b/modules/macroicons.lua @@ -72,7 +72,7 @@ pfUI:RegisterModule("macroicons", function () end local function SaveMacroPopup() - local text = strtrim(picker.editbox:GetText()) + local text = picker.editbox:GetText() if text == "" then return end local icon = iconPicker.GetIcon()