Removed setmetatable mistake from default's ScreenFilter and ProTiming lua option rows.

This commit is contained in:
Kyzentun
2015-02-04 12:04:48 -07:00
parent 507a6cd5dd
commit cf02a8fe50
+3 -7
View File
@@ -116,7 +116,7 @@ end
-- screen filter -- screen filter
function OptionRowScreenFilter() function OptionRowScreenFilter()
local t = { return {
Name="ScreenFilter", Name="ScreenFilter",
LayoutType = "ShowAllInRow", LayoutType = "ShowAllInRow",
SelectType = "SelectOne", SelectType = "SelectOne",
@@ -147,14 +147,12 @@ function OptionRowScreenFilter()
end end
end end
end, end,
}; }
setmetatable(t, t)
return t
end end
-- protiming -- protiming
function OptionRowProTiming() function OptionRowProTiming()
local t = { return {
Name = "ProTiming", Name = "ProTiming",
LayoutType = "ShowAllInRow", LayoutType = "ShowAllInRow",
SelectType = "SelectOne", SelectType = "SelectOne",
@@ -181,8 +179,6 @@ function OptionRowProTiming()
SetUserPref("UserPrefProtiming" .. ToEnumShortString(pn), bSave) SetUserPref("UserPrefProtiming" .. ToEnumShortString(pn), bSave)
end end
} }
setmetatable(t, t)
return t
end end
--[[ end option rows ]] --[[ end option rows ]]