File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ What's New in IDLE 3.3.1?
44- Issue #16226: Fix IDLE Path Browser crash.
55 (Patch by Roger Serwy)
66
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+
710
811What's New in IDLE 3.3.0?
912=========================
Original file line number Diff line number Diff line change @@ -821,10 +821,9 @@ def SetFontSample(self,event=None):
821821 fontWeight = tkFont .BOLD
822822 else :
823823 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 )
828827
829828 def SetHighlightTarget (self ):
830829 if self .highlightTarget .get ()== 'Cursor' : #bg not possible
You can’t perform that action at this time.
0 commit comments