Kaydet (Commit) a212114a authored tarafından Ned Deily's avatar Ned Deily

Issue #15853: merge 3.3 -> default

......@@ -4,6 +4,9 @@ What's New in IDLE 3.4.0?
- Issue #16226: Fix IDLE Path Browser crash.
(Patch by Roger Serwy)
- Issue #15853: Prevent IDLE crash on OS X when opening Preferences menu
with certain versions of Tk 8.5. Initial patch by Kevin Walzer.
What's New in IDLE 3.3.0?
=========================
......
......@@ -821,10 +821,9 @@ class ConfigDialog(Toplevel):
fontWeight=tkFont.BOLD
else:
fontWeight=tkFont.NORMAL
size=self.fontSize.get()
self.editFont.config(size=size,
weight=fontWeight,family=fontName)
self.textHighlightSample.configure(font=(fontName, size, fontWeight))
newFont = (fontName, self.fontSize.get(), fontWeight)
self.labelFontSample.config(font=newFont)
self.textHighlightSample.configure(font=newFont)
def SetHighlightTarget(self):
if self.highlightTarget.get()=='Cursor': #bg not possible
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment