Fixed bug when modifying slave module type
authorLaurent Bessard
Mon, 22 Apr 2013 09:30:48 +0200
changeset 2131 504f18b3306a
parent 2130 596e99202a15
child 2132 9f5e4dc43053
Fixed bug when modifying slave module type
etherlab/EthercatSlave.py
--- a/etherlab/EthercatSlave.py	Fri Apr 19 00:55:40 2013 +0200
+++ b/etherlab/EthercatSlave.py	Mon Apr 22 09:30:48 2013 +0200
@@ -103,8 +103,6 @@
             self.CTNParent.SetSlaveType(position, value)
             slave_type = self.CTNParent.GetSlaveType(self.GetSlavePos())
             value = (slave_type["device_type"], slave_type)
-            if self._View is not None:
-                wx.CallAfter(self._View.RefreshSlaveInfos)
             return value, True
         elif path == "SlaveParams.Alias":
             self.CTNParent.SetSlaveAlias(position, value)