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?
3
3
======================================
4
4
5
5
6
+ bpo-39600: Remove duplicate font names from configuration list.
7
+
6
8
bpo-38792: Close a shell calltip if a :exc:`KeyboardInterrupt`
7
9
or shell restart occurs. Patch by Zackery Spytz.
8
10
Original file line number Diff line number Diff line change @@ -606,10 +606,8 @@ def load_font_cfg(self):
606
606
font_size = configured_font [1 ]
607
607
font_bold = configured_font [2 ]== 'bold'
608
608
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 )))
613
611
for font in fonts :
614
612
self .fontlist .insert (END , font )
615
613
self .font_name .set (font_name )
You can’t perform that action at this time.
0 commit comments