mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
M EditorWindow.py
M IOBinding.py M NEWS.txt M configDialog.py - If nulls somehow got into the strings in recent-files.lst EditorWindow.update_recent_files_list() was failing. Python Bug 931336.
This commit is contained in:
parent
5bed456056
commit
cf6f1b69eb
4 changed files with 55 additions and 68 deletions
|
|
@ -1157,7 +1157,7 @@ class ConfigDialog(Toplevel):
|
|||
#update theme and repaint
|
||||
#update keybindings and re-bind
|
||||
#update user help sources menu
|
||||
winInstances=self.parent.instanceDict.keys()
|
||||
winInstances=self.parent.instance_dict.keys()
|
||||
for instance in winInstances:
|
||||
instance.ResetColorizer()
|
||||
instance.ResetFont()
|
||||
|
|
@ -1183,5 +1183,5 @@ if __name__ == '__main__':
|
|||
root=Tk()
|
||||
Button(root,text='Dialog',
|
||||
command=lambda:ConfigDialog(root,'Settings')).pack()
|
||||
root.instanceDict={}
|
||||
root.instance_dict={}
|
||||
root.mainloop()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue