Preferences/ConfigurationPages/EditorSpellCheckingPage.py

changeset 7
c679fb30c8f3
parent 0
de9c2efb9d02
child 12
1d8dd9706f46
diff -r 52e8c820d0dd -r c679fb30c8f3 Preferences/ConfigurationPages/EditorSpellCheckingPage.py
--- a/Preferences/ConfigurationPages/EditorSpellCheckingPage.py	Mon Dec 28 18:31:37 2009 +0000
+++ b/Preferences/ConfigurationPages/EditorSpellCheckingPage.py	Wed Dec 30 15:40:33 2009 +0000
@@ -76,13 +76,13 @@
         Public slot to save the Editor Search configuration.
         """
         Preferences.setEditor("SpellCheckingEnabled", 
-            int(self.checkingEnabledCheckBox.isChecked()))
+            self.checkingEnabledCheckBox.isChecked())
         
         Preferences.setEditor("SpellCheckingDefaultLanguage", 
             self.defaultLanguageCombo.currentText())
         
         Preferences.setEditor("SpellCheckStringsOnly", 
-            int(self.stringsOnlyCheckBox.isChecked()))
+            self.stringsOnlyCheckBox.isChecked())
         Preferences.setEditor("SpellCheckingMinWordSize", 
             self.minimumWordSizeSlider.value())
         
@@ -93,7 +93,7 @@
         Preferences.setEditor("SpellCheckingPersonalExcludeList", self.pelEdit.text())
         
         Preferences.setEditor("AutoSpellCheckingEnabled", 
-            int(self.enabledCheckBox.isChecked()))
+            self.enabledCheckBox.isChecked())
         Preferences.setEditor("AutoSpellCheckChunkSize", self.chunkSizeSpinBox.value())
         
     @pyqtSlot()

eric ide

mercurial