mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu.
This commit is contained in:
parent
e1ad3dac3d
commit
3aee9416a0
2 changed files with 3 additions and 1 deletions
|
@ -860,7 +860,7 @@ class EditorWindow(object):
|
|||
# for each edit window instance, construct the recent files menu
|
||||
for instance in self.top.instance_dict:
|
||||
menu = instance.recent_files_menu
|
||||
menu.delete(1, END) # clear, and rebuild:
|
||||
menu.delete(0, END) # clear, and rebuild:
|
||||
for i, file_name in enumerate(rf_list):
|
||||
file_name = file_name.rstrip() # zap \n
|
||||
# make unicode string to display non-ASCII chars correctly
|
||||
|
|
|
@ -70,6 +70,8 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu.
|
||||
|
||||
- Issue #14443: Tell rpmbuild to use the correct version of Python in
|
||||
bdist_rpm. Initial patch by Ross Lagerwall.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue