author | lbessard |
Mon, 08 Sep 2008 16:59:37 +0200 | |
changeset 264 | 11d5e2cb6faa |
parent 263 | 549c413cefce |
child 265 | 23aad5ae0dc1 |
--- a/Viewer.py Mon Sep 08 16:56:48 2008 +0200 +++ b/Viewer.py Mon Sep 08 16:59:37 2008 +0200 @@ -480,10 +480,10 @@ self.HighlightedElement = None def Flush(self): + for element, iec_path in self.Subscribed.iteritems(): + self.Controler.UnsubscribeDebugIECVariable(iec_path, element) for block in self.Blocks: block.Flush() - for element, iec_path in self.Subscribed.iteritems(): - self.Controler.UnsubscribeDebugIECVariable(iec_path, element) # Remove all elements def CleanView(self):