Fixed #21423 -- Fixed typo in widgets.py.