eric6/Preferences/ConfigurationPages/EditorTypingPage.py

changeset 6997
24eabcea4c59
parent 6942
2602857055c5
child 7229
53054eb5b15a
--- a/eric6/Preferences/ConfigurationPages/EditorTypingPage.py	Sat May 04 14:01:19 2019 +0200
+++ b/eric6/Preferences/ConfigurationPages/EditorTypingPage.py	Sat May 04 14:34:51 2019 +0200
@@ -53,10 +53,10 @@
             Preferences.getEditorTyping("Python/DedentElse"))
         self.pythonDedentExceptCheckBox.setChecked(
             Preferences.getEditorTyping("Python/DedentExcept"))
-        self.pythonDedentExceptPy24CheckBox.setChecked(
-            Preferences.getEditorTyping("Python/Py24StyleTry"))
         self.pythonInsertImportCheckBox.setChecked(
             Preferences.getEditorTyping("Python/InsertImport"))
+        self.pythonImportBraceTypeCheckBox.setChecked(
+            Preferences.getEditorTyping("Python/ImportBraceType"))
         self.pythonInsertSelfCheckBox.setChecked(
             Preferences.getEditorTyping("Python/InsertSelf"))
         self.pythonInsertBlankCheckBox.setChecked(
@@ -113,12 +113,12 @@
             "Python/DedentExcept",
             self.pythonDedentExceptCheckBox.isChecked())
         Preferences.setEditorTyping(
-            "Python/Py24StyleTry",
-            self.pythonDedentExceptPy24CheckBox.isChecked())
-        Preferences.setEditorTyping(
             "Python/InsertImport",
             self.pythonInsertImportCheckBox.isChecked())
         Preferences.setEditorTyping(
+            "Python/ImportBraceType",
+            self.pythonImportBraceTypeCheckBox.isChecked())
+        Preferences.setEditorTyping(
             "Python/InsertSelf",
             self.pythonInsertSelfCheckBox.isChecked())
         Preferences.setEditorTyping(

eric ide

mercurial