# HG changeset patch
# User Laurent Bessard
# Date 1366836990 -7200
# Node ID 44318b45aab981a7664bdb1647acbd71f1f59be8
# Parent  9b5995303db13ae2f2ddfe76cb3318ad5c1c3cc7
Fixed bug Show IEC code button not available

diff -r 9b5995303db1 -r 44318b45aab9 ProjectController.py
--- a/ProjectController.py	Wed Apr 24 18:50:37 2013 +0200
+++ b/ProjectController.py	Wed Apr 24 22:56:30 2013 +0200
@@ -313,7 +313,7 @@
         if os.path.exists(self._getBuildPath()):
             self.EnableMethod("_Clean", True)
 
-        if os.path.isfile(self._getIECrawcodepath()):
+        if os.path.isfile(self._getIECcodepath()):
             self.ShowMethod("_showIECcode", True)
         
         self.UpdateMethodsFromPLCStatus()