Use freeze_form instead of freeze_object

This commit is contained in:
Guido van Rossum 1993-12-28 21:27:23 +00:00
parent 810a92f95b
commit ca1c876d43
1 changed files with 2 additions and 2 deletions

View File

@ -289,10 +289,10 @@ class Editor:
getattr(self, io + '_info2').label = `pos`
getattr(self, io + '_info3').label = `right`
sl = getattr(self, io + '_slider')
sl.freeze_object()
self.form.freeze_form()
sl.set_slider_bounds(left, right)
sl.set_slider_value(pos)
sl.unfreeze_object()
self.form.unfreeze_form()
try: