beremiz

Parents 2a02c6404124
Children f0ea86d830ed
Fixed bug in LogViewer in Log Messages to retrieve index calculation when first SetLogCounters
--- a/controls/LogViewer.py Mon Apr 29 09:09:07 2013 +0200
+++ b/controls/LogViewer.py Mon Apr 29 10:24:19 2013 +0200
@@ -396,7 +396,7 @@
for level, count, prev in zip(xrange(LogLevelsCount), log_count, self.previous_log_count):
if count is not None and prev != count:
if prev is None:
- dump_end = count - 2
+ dump_end = count - 1
else:
dump_end = prev - 1
for msgidx in xrange(count-1, dump_end,-1):