Fix the pause functionality on timer
Fixes issues: Bug 740988 - Timer is dead in a scenario Bug 741119 - Pause seems to be broken
This commit is contained in:
parent
72054b7273
commit
3e6ccc1f4d
1 changed files with 2 additions and 0 deletions
|
@ -105,6 +105,7 @@ public class ChessClock : Object
|
|||
|
||||
timer.stop ();
|
||||
stop_watching_timer ();
|
||||
is_active = false;
|
||||
}
|
||||
|
||||
public void unpause ()
|
||||
|
@ -114,6 +115,7 @@ public class ChessClock : Object
|
|||
|
||||
timer.@continue ();
|
||||
watch_timer ();
|
||||
is_active = true;
|
||||
}
|
||||
|
||||
private void watch_timer ()
|
||||
|
|
Loading…
Reference in a new issue