Skip to content

Commit 1b19a34

Browse files
Sebastien PonceSebastien Ponce
Sebastien Ponce
authored and
Sebastien Ponce
committed
Added nb of registered times on the status line
Very useful when you have duplicate setup to double check that you took the smae number of times The number of runners per lap was there, but in case you are taking only timings on that instance, it does not help
1 parent 03acf6e commit 1b19a34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fstimer/gui/timing.py

+2
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,14 @@ def update_racers_label(self):
235235
if self.numlaps > 1:
236236
s += ' (per lap)'
237237
s += ': ' + ' | '.join(str(n) for n in self.racers_in)
238+
s += ', Times taken : %d ' % len(self.rawtimes['times'])
238239
self.racerslabel.set_markup(s)
239240

240241
def check_for_newtime(self, jnk_unused):
241242
'''Handles entering of a new time'''
242243
if self.entrybox.get_text() == self.timebtn:
243244
self.new_blank_time()
245+
self.update_racers_label()
244246

245247
def scroll_times(self, jnk1_unused, jnk2_unused):
246248
'''handles scrolling of the time window'''

0 commit comments

Comments
 (0)