Skip to content

Commit

Permalink
fix: unpaused bongo cat after session end
Browse files Browse the repository at this point in the history
  • Loading branch information
u8slvn committed Aug 21, 2024
1 parent 8cd6faa commit 45b3120
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion until_zero/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ def __init__(self, parent: tkinter.Tk, session: Session) -> None:
self.withdraw()

def start(self) -> None:
self.paused = False
if self.paused is True:
self.paused = False
self.session.send_event(Events.UNPAUSE_TIMER)
self.deiconify()
self.timer_display.set_timer_count(count=self.session.timer_count)
self.timers_sequence = self.session.get_timers_sequence()
Expand Down

0 comments on commit 45b3120

Please sign in to comment.