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:
Sahil Sareen 2014-12-10 19:38:39 +05:30 committed by Michael Catanzaro
parent 72054b7273
commit 3e6ccc1f4d

View file

@ -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 ()