--- a/Preferences/ConfigurationPages/EditorAPIsPage.py Tue Oct 15 19:13:32 2013 +0200 +++ b/Preferences/ConfigurationPages/EditorAPIsPage.py Wed Oct 16 15:16:54 2013 +0200 @@ -46,8 +46,8 @@ import QScintilla.Lexers self.apis = {} - apiLanguages = sorted([''] + \ - list(QScintilla.Lexers.getSupportedLanguages().keys())) + apiLanguages = sorted( + [''] + list(QScintilla.Lexers.getSupportedLanguages().keys())) for lang in apiLanguages: if lang != "Guessed": self.apiLanguageComboBox.addItem(lang) @@ -61,7 +61,8 @@ """ Public slot to save the Editor APIs configuration. """ - Preferences.setEditor("AutoPrepareAPIs", + Preferences.setEditor( + "AutoPrepareAPIs", self.apiAutoPrepareCheckBox.isChecked()) lang = self.apiLanguageComboBox.currentText()