summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/Tkinter.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1996-10-21 17:09:31 (GMT)
committerFred Drake <fdrake@acm.org>1996-10-21 17:09:31 (GMT)
commit0c373691ae417d7ddb03f1107b6dee231902f048 (patch)
tree4f10610989dda67b3a02cb1d62249e1d1111b40a /Lib/tkinter/Tkinter.py
parent28574b557b40b8ebc964e0b5f27da42f9b4aa611 (diff)
downloadcpython-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-xLib/tkinter/Tkinter.py2
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):