Fix bug when transferring PLC and orthogonal graph is displayed with cursor
authorLaurent Bessard
Wed, 26 Jun 2013 17:53:45 +0200
changeset 1271 757b83fd2173
parent 1270 aa9bc3e6181d
child 1272 0086cbee609b
Fix bug when transferring PLC and orthogonal graph is displayed with cursor
controls/DebugVariablePanel/DebugVariableGraphicPanel.py
--- a/controls/DebugVariablePanel/DebugVariableGraphicPanel.py	Wed Jun 26 16:56:34 2013 +0200
+++ b/controls/DebugVariablePanel/DebugVariableGraphicPanel.py	Wed Jun 26 17:53:45 2013 +0200
@@ -584,6 +584,8 @@
             if self.DataProducer is not None:
                 self.SetTickTime(self.DataProducer.GetTicktime())
         
+        self.ResetCursorTick()
+        
         for panel in self.GraphicPanels[:]:
             panel.SubscribeAllDataConsumers()
             if panel.ItemsIsEmpty():