--- a/eric6/Project/SpellingPropertiesDialog.py Tue Sep 24 19:08:10 2019 +0200 +++ b/eric6/Project/SpellingPropertiesDialog.py Tue Sep 24 19:44:17 2019 +0200 @@ -75,12 +75,14 @@ Public method to store the entered/modified data. """ if self.spellingComboBox.currentIndex() == 0: - self.project.pdata["SPELLLANGUAGE"] = \ + self.project.pdata["SPELLLANGUAGE"] = ( Preferences.getEditor("SpellCheckingDefaultLanguage") + ) else: - self.project.pdata["SPELLLANGUAGE"] = \ + self.project.pdata["SPELLLANGUAGE"] = ( self.spellingComboBox.currentText() - self.project.pdata["SPELLWORDS"] = \ - self.project.getRelativePath(self.pwlPicker.text()) - self.project.pdata["SPELLEXCLUDES"] = \ - self.project.getRelativePath(self.pelPicker.text()) + ) + self.project.pdata["SPELLWORDS"] = self.project.getRelativePath( + self.pwlPicker.text()) + self.project.pdata["SPELLEXCLUDES"] = self.project.getRelativePath( + self.pelPicker.text())