Preferences/ConfigurationPages/EditorSyntaxPage.py

changeset 2907
108abcc64724
parent 2302
f29e9405c851
child 2964
84b65fb9e780
child 3056
9986ec0e559a
--- a/Preferences/ConfigurationPages/EditorSyntaxPage.py	Wed Sep 11 19:19:07 2013 +0200
+++ b/Preferences/ConfigurationPages/EditorSyntaxPage.py	Wed Sep 11 19:36:31 2013 +0200
@@ -35,6 +35,12 @@
         self.automaticSyntaxCheckCheckBox.setChecked(
             Preferences.getEditor("AutoCheckSyntax"))
         
+        # pyflakes related stuff
+        self.includeCheckBox.setChecked(
+            Preferences.getFlakes("IncludeInSyntaxCheck"))
+        self.ignoreStarImportCheckBox.setChecked(
+            Preferences.getFlakes("IgnoreStarImportWarnings"))
+    
     def save(self):
         """
         Public slot to save the Editor Syntax Checker configuration.
@@ -45,7 +51,13 @@
             self.onlineTimeoutSpinBox.value())
         Preferences.setEditor("AutoCheckSyntax",
             self.automaticSyntaxCheckCheckBox.isChecked())
-    
+        
+        # pyflakes related stuff
+        Preferences.setFlakes("IncludeInSyntaxCheck",
+            self.includeCheckBox.isChecked())
+        Preferences.setFlakes("IgnoreStarImportWarnings",
+            self.ignoreStarImportCheckBox.isChecked())
+
 
 def create(dlg):
     """

eric ide

mercurial