--- a/Project/SpellingPropertiesDialog.py Wed Aug 17 17:52:52 2016 +0200 +++ b/Project/SpellingPropertiesDialog.py Thu Aug 18 17:02:21 2016 +0200 @@ -62,7 +62,7 @@ Public method to initialize the dialogs data. """ index = self.spellingComboBox.findText( - self.project.pdata["SPELLLANGUAGE"][0]) + self.project.pdata["SPELLLANGUAGE"]) if index == -1: index = 0 self.spellingComboBox.setCurrentIndex(index) @@ -77,10 +77,10 @@ """ if self.spellingComboBox.currentIndex() == 0: self.project.pdata["SPELLLANGUAGE"] = \ - [Preferences.getEditor("SpellCheckingDefaultLanguage")] + Preferences.getEditor("SpellCheckingDefaultLanguage") else: self.project.pdata["SPELLLANGUAGE"] = \ - [self.spellingComboBox.currentText()] + self.spellingComboBox.currentText() self.project.pdata["SPELLWORDS"] = \ self.project.getRelativePath(self.pwlPicker.text()) self.project.pdata["SPELLEXCLUDES"] = \