progressbar: Fix a major regression. (#2933)
The typo was introduced when the signal and accessors were standardized for to make the documentation less wrong. Fix #2932
This commit is contained in:
parent
4cac2463ad
commit
1b24acf2ea
|
@ -480,7 +480,7 @@ for _, prop in ipairs(properties) do
|
|||
end
|
||||
end
|
||||
if not progressbar["get_"..prop] then
|
||||
progressbar["set_" .. prop] = function(pbar)
|
||||
progressbar["get_" .. prop] = function(pbar)
|
||||
return pbar._private[prop]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue