mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Fixes issue 6110
This commit is contained in:
parent
aafa18aa05
commit
55d8828f98
1 changed files with 2 additions and 1 deletions
|
@ -82,6 +82,7 @@ def overrideRootMenu(root, flist):
|
|||
|
||||
def config_dialog(event=None):
|
||||
import configDialog
|
||||
root.instance_dict = flist.inversedict
|
||||
configDialog.ConfigDialog(root, 'Settings')
|
||||
|
||||
|
||||
|
@ -95,7 +96,7 @@ def overrideRootMenu(root, flist):
|
|||
tkversion = root.tk.eval('info patchlevel')
|
||||
# Note: we cannot check if the string tkversion >= '8.4.14', because
|
||||
# the string '8.4.7' is greater than the string '8.4.14'.
|
||||
if map(int, tkversion.split('.')) >= (8, 4, 14):
|
||||
if tuple(map(int, tkversion.split('.'))) >= (8, 4, 14):
|
||||
Bindings.menudefs[0] = ('application', [
|
||||
('About IDLE', '<<about-idle>>'),
|
||||
None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue