Fixed a bug where the options panel won't open and show an error in the chat window

This commit is contained in:
Tercio Jose
2022-02-08 13:13:34 -03:00
parent f0d66e6cba
commit 989b62c4f3
-2
View File
@@ -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"))