Fix bug graphic values range not reinitialized when graphic reseted
authorLaurent Bessard
Wed, 06 Jun 2012 19:04:18 +0200
changeset 706 9920d8c07e5e
parent 705 1a343b239e9c
child 707 e850bc674852
Fix bug graphic values range not reinitialized when graphic reseted
GraphicViewer.py
--- a/GraphicViewer.py	Wed Jun 06 19:02:30 2012 +0200
+++ b/GraphicViewer.py	Wed Jun 06 19:04:18 2012 +0200
@@ -224,6 +224,8 @@
         self.StartTick = 0
         self.StartIdx = 0
         self.EndIdx = 0
+        self.MinValue = None
+        self.MaxValue = None
         self.CursorIdx = None
         self.Fixed = False
         self.Ticktime = self.DataProducer.GetTicktime()