QuickDispatch now uses xpcall instead of pcall, fixed search box erroring on some searchs

This commit is contained in:
Tercio Jose
2022-10-14 13:21:58 -03:00
parent 50ed1cf776
commit 3f3d4db5f0
12 changed files with 65 additions and 63 deletions
+4 -7
View File
@@ -6901,16 +6901,13 @@ end
-- ~19 - search results
do
--[=
local buildSection = function(sectionFrame)
local sectionOptions = {
}
DF:BuildMenu(sectionFrame, sectionOptions, startX, startY-20, heightSize, false, options_text_template, options_dropdown_template, options_switch_template, true, options_slider_template, options_button_template)
--local sectionOptions = {}
--DF:BuildMenu(sectionFrame, sectionOptions, startX, startY-20, heightSize, false, options_text_template, options_dropdown_template, options_switch_template, true, options_slider_template, options_button_template)
end
tinsert(Details.optionsSection, buildSection)
--]=]
end
+1 -1
View File
@@ -165,7 +165,7 @@ function Details.OpenRunCodeWindow()
if (func) then
DF:SetEnvironment(func)
DF:QuickDispatch (func)
DF:QuickDispatch(func)
else
errortext_frame:Flash(0.2, 0.2, 0.4, true, nil, nil, "NONE")
end