Fixing unicode font names breaking Yomichan preferences
Former-commit-id: 7763e7d748ce1b0e9c3fa0f98927b018e389ee71
This commit is contained in:
parent
48682de0e9
commit
5c98784e40
@ -175,7 +175,7 @@ class DialogPreferences(QtGui.QDialog, gen.preferences_ui.Ui_DialogPreferences):
|
|||||||
|
|
||||||
|
|
||||||
def onFontFamilyChanged(self, font):
|
def onFontFamilyChanged(self, font):
|
||||||
self.preferences['fontFamily'] = str(font.family())
|
self.preferences['fontFamily'] = unicode(font.family())
|
||||||
self.updateSampleText()
|
self.updateSampleText()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user