File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ What's New in IDLE 3.3.1?
4
4
- Issue #16226: Fix IDLE Path Browser crash.
5
5
(Patch by Roger Serwy)
6
6
7
+ - Issue #15853: Prevent IDLE crash on OS X when opening Preferences menu
8
+ with certain versions of Tk 8.5. Initial patch by Kevin Walzer.
9
+
7
10
8
11
What's New in IDLE 3.3.0?
9
12
=========================
Original file line number Diff line number Diff line change @@ -821,10 +821,9 @@ def SetFontSample(self,event=None):
821
821
fontWeight = tkFont .BOLD
822
822
else :
823
823
fontWeight = tkFont .NORMAL
824
- size = self .fontSize .get ()
825
- self .editFont .config (size = size ,
826
- weight = fontWeight ,family = fontName )
827
- self .textHighlightSample .configure (font = (fontName , size , fontWeight ))
824
+ newFont = (fontName , self .fontSize .get (), fontWeight )
825
+ self .labelFontSample .config (font = newFont )
826
+ self .textHighlightSample .configure (font = newFont )
828
827
829
828
def SetHighlightTarget (self ):
830
829
if self .highlightTarget .get ()== 'Cursor' : #bg not possible
You can’t perform that action at this time.
0 commit comments