mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
(Tkinter.py): Fixed bug in re-implementation of OptionMenu.
This commit is contained in:
parent
28574b557b
commit
0c373691ae
2 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue