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:
Emmanuel Lepage Vallée 2019-12-01 03:35:26 -05:00 committed by GitHub
parent 4cac2463ad
commit 1b24acf2ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ for _, prop in ipairs(properties) do
end end
end end
if not progressbar["get_"..prop] then if not progressbar["get_"..prop] then
progressbar["set_" .. prop] = function(pbar) progressbar["get_" .. prop] = function(pbar)
return pbar._private[prop] return pbar._private[prop]
end end
end end