One issue on SetDataProducer not handled fixed
authorlaurent
Wed, 09 Dec 2009 16:50:19 +0100
changeset 480 5389728644a5
parent 479 2fab0eefa66e
child 481 593068548dca
One issue on SetDataProducer not handled fixed
graphics/GraphicCommons.py
--- a/graphics/GraphicCommons.py	Wed Dec 09 10:19:35 2009 +0100
+++ b/graphics/GraphicCommons.py	Wed Dec 09 16:50:19 2009 +0100
@@ -245,7 +245,7 @@
         if self.RegisterTick and self.Debug:
             if producer is not None:
                 producer.SubscribeDebugIECVariable("__tick__", self)
-            elif self.DataProducer is not None:
+            if self.DataProducer is not None:
                 self.DataProducer.UnsubscribeDebugIECVariable("__tick__", self)        
         self.DataProducer = producer