Plugins/PluginTabnanny.py

changeset 3446
5a670e55adbb
parent 3345
071afe8be2a1
child 3450
2f7c8fd8e3f5
child 3484
645c12de6b0c
diff -r 1b07f996e9ee -r 5a670e55adbb Plugins/PluginTabnanny.py
--- a/Plugins/PluginTabnanny.py	Fri Mar 28 19:52:34 2014 +0100
+++ b/Plugins/PluginTabnanny.py	Sat Mar 29 20:12:47 2014 +0100
@@ -252,8 +252,7 @@
         if menuName == "Checks":
             if not self.__editorAct in menu.actions():
                 menu.addAction(self.__editorAct)
-            self.__editorAct.setEnabled(
-                editor.isPy3File() or editor.isPy2File())
+            self.__editorAct.setEnabled(editor.isPyFile())
     
     def __editorTabnanny(self):
         """

eric ide

mercurial