Fixed a compatibility issue with QsciScintilla 2.4.5 and newer. 5_0_x

Fri, 03 Sep 2010 18:54:15 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 03 Sep 2010 18:54:15 +0200
branch
5_0_x
changeset 552
bc2948d7c5f2
parent 534
7d247a767510
child 557
143bcdc7a959

Fixed a compatibility issue with QsciScintilla 2.4.5 and newer.

QScintilla/QsciScintillaCompat.py file | annotate | diff | comparison | revisions
--- a/QScintilla/QsciScintillaCompat.py	Mon Aug 30 19:01:55 2010 +0200
+++ b/QScintilla/QsciScintillaCompat.py	Fri Sep 03 18:54:15 2010 +0200
@@ -96,7 +96,7 @@
         except AttributeError:
             rangeHigh = list(range(40, 128))
         
-        f = font.family()
+        f = font.family().encode()
         ps = font.pointSize()
         for style in rangeLow + rangeHigh:
             self.SendScintilla(QsciScintilla.SCI_STYLESETFONT, style, f)

eric ide

mercurial