File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ Released on 2020-10-05?
33======================================
44
55
6+ bpo-39600: Remove duplicate font names from configuration list.
7+
68bpo-38792: Close a shell calltip if a :exc:`KeyboardInterrupt`
79or shell restart occurs. Patch by Zackery Spytz.
810
Original file line number Diff line number Diff line change @@ -606,10 +606,8 @@ def load_font_cfg(self):
606606 font_size = configured_font [1 ]
607607 font_bold = configured_font [2 ]== 'bold'
608608
609- # Set editor font selection list and font_name.
610- fonts = tkFont .families (self )
611- # remove duplicated names and sort
612- fonts = sorted (set (fonts ))
609+ # Set sorted no-duplicate editor font selection list and font_name.
610+ fonts = sorted (set (tkFont .families (self )))
613611 for font in fonts :
614612 self .fontlist .insert (END , font )
615613 self .font_name .set (font_name )
You can’t perform that action at this time.
0 commit comments