beremiz

Parents 7b5e83c2c23d
Children c053f90229bc
Fix scan network functionality, project tree not refreshed after adding slaves
--- a/etherlab/EthercatMaster.py Mon Apr 15 00:37:59 2013 +0200
+++ b/etherlab/EthercatMaster.py Mon Apr 15 00:40:47 2013 +0200
@@ -435,7 +435,10 @@
self.SetSlaveAlias(slave["idx"], slave["alias"])
type_infos["device_type"] = device.getType().getcontent()
self.SetSlaveType(slave["idx"], type_infos)
-
+
+ if app_frame:
+ app_frame.RefreshProjectTree()
+
def CTNAddChild(self, CTNName, CTNType, IEC_Channel=0):
"""
Create the confnodes that may be added as child to this node self