Preferences/ConfigurationPages/EditorSyntaxPage.py

branch
Py2 comp.
changeset 3056
9986ec0e559a
parent 2525
8b507a9a2d40
parent 2907
108abcc64724
child 3057
10516539f238
diff -r ce77f0b1ee67 -r 9986ec0e559a Preferences/ConfigurationPages/EditorSyntaxPage.py
--- a/Preferences/ConfigurationPages/EditorSyntaxPage.py	Sun Sep 08 19:04:07 2013 +0200
+++ b/Preferences/ConfigurationPages/EditorSyntaxPage.py	Tue Oct 15 22:03:54 2013 +0200
@@ -37,6 +37,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.
@@ -47,7 +53,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