controls/DebugVariablePanel/DebugVariableItem.py
branchsvghmi
changeset 3292 ef04cedee08b
parent 3258 5ce56021f166
child 3335 c001c373f66c
--- a/controls/DebugVariablePanel/DebugVariableItem.py	Mon Jul 26 10:20:39 2021 +0200
+++ b/controls/DebugVariablePanel/DebugVariableItem.py	Thu Jul 29 08:25:26 2021 +0200
@@ -152,7 +152,7 @@
                      else 0)
         end_idx = (self.GetNearestData(end_tick, 1)
                    if end_tick is not None
-                   else len(self.Data))
+                   else self.Data.count)
 
         # Return data between indexes
         return self.Data.view[start_idx:end_idx]