mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-30 23:46:57 +00:00
Use ClassicAPI's nop for empty functions
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user