Sat, 19 Mar 2011 16:08:57 +0100
Added a bit of code to make eric 5.1 compatible with eric 5.2 settings.
Preferences/__init__.py | file | annotate | diff | comparison | revisions |
--- a/Preferences/__init__.py Sat Mar 19 14:29:38 2011 +0100 +++ b/Preferences/__init__.py Sat Mar 19 16:08:57 2011 +0100 @@ -1327,6 +1327,9 @@ """ col = prefClass.settings.value("Editor/Colour/" + key) if col is not None: + if len(col) == 9: + # color string with alpha + col = "#" + col[3:] return QtGui.QColor(col) else: return prefClass.editorColourDefaults[key]