Framework update

This commit is contained in:
Tercio Jose
2020-12-13 19:19:26 -03:00
parent 8f1df5e015
commit 4c7715a36c
7 changed files with 236 additions and 13 deletions
+1 -1
View File
@@ -856,7 +856,7 @@ local SwitchOnClick = function (self, button, forced_value, value)
local success, errorText = xpcall (slider.OnSwitch, geterrorhandler(), slider, slider.FixedValue, value)
if (not success) then
error ("Details! Framework: OnSwitch() " .. (button.GetName and button:GetName() or "-NONAME-") .. " error: " .. (errorText or ""))
return
end
--> trigger hooks