Author doko
Recipients doko, gpolo, kbk, petr.viktorin, roger.serwy, serhiy.storchaka, terry.reedy, wysaard
Date 2016-05-09.10:58:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462791496.37.0.986792206656.issue26673@psf.upfronthosting.co.za>
In-reply-to
Content
using this as a work-around, not tested with Tcl/Tk 8.5 or older.

--- a/Lib/idlelib/configDialog.py
+++ b/Lib/idlelib/configDialog.py
@@ -113,7 +113,11 @@ class ConfigDialog(Toplevel):
 
     def CreatePageFontTab(self):
         parent = self.parent
-        self.fontSize = StringVar(parent)
+        # see issue #26673
+        if TkVersion >= 8.6:
+            self.fontSize = IntVar(parent)
+        else:
+            self.fontSize = StringVar(parent)
         self.fontBold = BooleanVar(parent)
         self.fontName = StringVar(parent)
         self.spaceNum = IntVar(parent)
History
Date User Action Args
2016-05-09 10:58:16dokosetrecipients: + doko, terry.reedy, kbk, gpolo, roger.serwy, petr.viktorin, serhiy.storchaka, wysaard
2016-05-09 10:58:16dokosetmessageid: <1462791496.37.0.986792206656.issue26673@psf.upfronthosting.co.za>
2016-05-09 10:58:16dokolinkissue26673 messages
2016-05-09 10:58:15dokocreate