73 def storeData(self): |
73 def storeData(self): |
74 """ |
74 """ |
75 Public method to store the entered/modified data. |
75 Public method to store the entered/modified data. |
76 """ |
76 """ |
77 if self.spellingComboBox.currentIndex() == 0: |
77 if self.spellingComboBox.currentIndex() == 0: |
78 self.project.pdata["SPELLLANGUAGE"] = \ |
78 self.project.pdata["SPELLLANGUAGE"] = ( |
79 Preferences.getEditor("SpellCheckingDefaultLanguage") |
79 Preferences.getEditor("SpellCheckingDefaultLanguage") |
|
80 ) |
80 else: |
81 else: |
81 self.project.pdata["SPELLLANGUAGE"] = \ |
82 self.project.pdata["SPELLLANGUAGE"] = ( |
82 self.spellingComboBox.currentText() |
83 self.spellingComboBox.currentText() |
83 self.project.pdata["SPELLWORDS"] = \ |
84 ) |
84 self.project.getRelativePath(self.pwlPicker.text()) |
85 self.project.pdata["SPELLWORDS"] = self.project.getRelativePath( |
85 self.project.pdata["SPELLEXCLUDES"] = \ |
86 self.pwlPicker.text()) |
86 self.project.getRelativePath(self.pelPicker.text()) |
87 self.project.pdata["SPELLEXCLUDES"] = self.project.getRelativePath( |
|
88 self.pelPicker.text()) |