Compare commits

...

2 Commits

View File

@ -145,10 +145,10 @@ class ConfigureDialog(QtWidgets.QDialog):
value = self.settings.value('font') value = self.settings.value('font')
self.editor_values['font'] = value self.editor_values['font'] = value
self.editor_font_combobox.setCurrentFont(QtGui.QFont(value)) self.editor_font_combobox.setCurrentFont(QtGui.QFont(value))
if settings.value.contains('size') if self.settings.value.contains('size'):
value = self.settings.value('size') value = self.settings.value('size')
self.editor_values['size'] = int(size) self.editor_values['size'] = int(value)
self.editor_size.setValue(int(size)) self.editor_size.setValue(int(value))
self.settings.endGroup() self.settings.endGroup()
# Renderer settings # Renderer settings
self.settings.beginGroup('render') self.settings.beginGroup('render')