Use ClassicAPI's nop for empty functions

This commit is contained in:
Brues
2026-10-30 12:20:37 -05:00
parent 436c6d6dd4
commit b0f9b7b993
6 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -761,7 +761,7 @@ pfUI:RegisterModule("gui", function ()
local defval = "["..T["Search"].."]"
-- initialize search window
CreateGUIEntry(defval, nil, function() end)
CreateGUIEntry(defval, nil, nop)
pfUI.gui.frames[defval]:Click()
local scroll = pfUI.gui.frames[defval].area.scroll.content