diff options
author | Fred Drake <fdrake@acm.org> | 1996-10-21 17:09:31 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1996-10-21 17:09:31 (GMT) |
commit | 0c373691ae417d7ddb03f1107b6dee231902f048 (patch) | |
tree | 4f10610989dda67b3a02cb1d62249e1d1111b40a /Lib/tkinter/Tkinter.py | |
parent | 28574b557b40b8ebc964e0b5f27da42f9b4aa611 (diff) | |
download | cpython-0c373691ae417d7ddb03f1107b6dee231902f048.zip cpython-0c373691ae417d7ddb03f1107b6dee231902f048.tar.gz cpython-0c373691ae417d7ddb03f1107b6dee231902f048.tar.bz2 |
(Tkinter.py): Fixed bug in re-implementation of OptionMenu.
Diffstat (limited to 'Lib/tkinter/Tkinter.py')
-rwxr-xr-x | Lib/tkinter/Tkinter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tkinter/Tkinter.py b/Lib/tkinter/Tkinter.py index 3a7b714..2b1f066 100755 --- a/Lib/tkinter/Tkinter.py +++ b/Lib/tkinter/Tkinter.py @@ -1528,7 +1528,7 @@ class _setit: self.__var = var def __call__(self, *args): - self.__var.set(value) + self.__var.set(self.__value) class OptionMenu(Menubutton): def __init__(self, master, variable, value, *values): |