Plugins/PluginEricapi.py

changeset 788
5b1b59777460
parent 564
b3d966393ba9
child 791
9ec2ac20e54e
diff -r 06290d4db8ab -r 5b1b59777460 Plugins/PluginEricapi.py
--- a/Plugins/PluginEricapi.py	Mon Dec 27 19:49:16 2010 +0100
+++ b/Plugins/PluginEricapi.py	Fri Dec 31 15:19:02 2010 +0100
@@ -133,7 +133,7 @@
             if self.__projectAct is not None:
                 self.__projectAct.setEnabled(
                     e5App().getObject("Project").getProjectLanguage() in \
-                        ["Python", "Python3", "Ruby"])
+                        ["Python", "Python2", "Python3", "Ruby"])
     
     def __doEricapi(self):
         """
@@ -178,4 +178,4 @@
                 if outfile not in project.pdata['OTHERS']:
                     project.pdata['OTHERS'].append(outfile)
                     project.setDirty(True)
-                    project.othersAdded(outfile)
\ No newline at end of file
+                    project.othersAdded(outfile)

eric ide

mercurial