summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/Tkinter.py
diff options
context:
space:
mode:
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):