From 989b62c4f387e2c943073129b9cd6a7639454066 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Tue, 8 Feb 2022 13:13:34 -0300 Subject: [PATCH] Fixed a bug where the options panel won't open and show an error in the chat window --- frames/window_options2.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/frames/window_options2.lua b/frames/window_options2.lua index e716f961..3f7199cb 100644 --- a/frames/window_options2.lua +++ b/frames/window_options2.lua @@ -179,8 +179,6 @@ function Details.options.InitializeOptionsWindow(instance) --search field local searchBox = DF:CreateTextEntry(f, function()end, 150, 20, _, _, _, options_dropdown_template) - searchBox:SetHook ("OnChar", f.OnSearchBoxTextChanged) - searchBox:SetHook ("OnTextChanged", f.OnSearchBoxTextChanged) searchBox:SetPoint ("topright", f, "topright", -5, -30) local searchLabel = DF:CreateLabel(f, "Search:", DF:GetTemplate ("font", "ORANGE_FONT_TEMPLATE"))