Bug on Open Project fixed
authorlbessard
Fri, 26 Oct 2007 17:04:18 +0200
changeset 117 bbe0697cf1ea
parent 116 58b9b84e385f
child 118 0c53d6a36013
Bug on Open Project fixed
PLCControler.py
--- a/PLCControler.py	Fri Oct 26 10:25:01 2007 +0200
+++ b/PLCControler.py	Fri Oct 26 17:04:18 2007 +0200
@@ -2125,8 +2125,8 @@
                 self.CurrentElementEditing = None
                 self.RefreshPouUsingTree()
                 self.RefreshBlockTypes()
-                return True
-        return False
+                return None
+        return "No PLC project found"
 
     def SaveXMLFile(self, filepath = None):
         if not filepath and self.FilePath == "":