# HG changeset patch # User Laurent Bessard # Date 1365979247 -7200 # Node ID 32255ca50fb0fd6eae5e79a0589597b2635366c8 # Parent 7b5e83c2c23d3db555b9b2d1f2ff813134568e0b Fix scan network functionality, project tree not refreshed after adding slaves diff -r 7b5e83c2c23d -r 32255ca50fb0 etherlab/EthercatMaster.py --- 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