Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ReckonPrimer.activity/collection.py
diff options
context:
space:
mode:
Diffstat (limited to 'ReckonPrimer.activity/collection.py')
-rw-r--r--ReckonPrimer.activity/collection.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ReckonPrimer.activity/collection.py b/ReckonPrimer.activity/collection.py
index 63b08f2..3c2120b 100644
--- a/ReckonPrimer.activity/collection.py
+++ b/ReckonPrimer.activity/collection.py
@@ -86,6 +86,7 @@ class Collection:
if(self._active_exerc == None):
# at startup
self._active_exerc = coll_key
+ self._display.set_select_exerc_semaphore(coll_key)
self._coach.notify(('exerc-selected', coll_key))
elif(self._active_exerc == coll_key):
# hit the same button once more
@@ -93,6 +94,7 @@ class Collection:
elif(self._active_exerc != coll_key):
# switched to another exercise
self._active_exerc = coll_key
- self._display.switch_exercise()
+ self._display.switch_exercise() # TODO rename
+ self._display.set_select_exerc_semaphore(coll_key)
self._coach.notify(('exerc-selected', coll_key))