Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorent <florent.pigout@gmail.com>2011-04-19 11:55:31 (GMT)
committer florent <florent.pigout@gmail.com>2011-04-19 11:55:31 (GMT)
commit8052c667b5f91e1613e6d3b0e287393009315a87 (patch)
tree877ef24bd30dcdb3a5fb81026101a51b93435959
parent3d71e892ce7a21fb2bd154d247135b698a1e3a66 (diff)
clear canvas when load the activity file
-rw-r--r--activity.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/activity.py b/activity.py
index c2ac1bc..dbfb465 100644
--- a/activity.py
+++ b/activity.py
@@ -292,6 +292,8 @@ class AToiDeJouerActivity(activity.Activity):
_max = _graphic_max if _graphic_max > _sound_max else _sound_max
# set activity new number of keys
self.set_number_of_keys(_max + 1)
+ # clear
+ self.graphic_keys.ask_clear()
# refresh default
_current = self.get_current_screen()
_current.refresh()