diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2011-09-16 14:04:54 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2011-09-16 21:39:23 (GMT) |
commit | 02f202019aa2e9f0281218ca1f2a271bfbac3647 (patch) | |
tree | b2c8744b940ab0ce9c50341de921163dbf9538b7 /model.py | |
parent | 5c17e1472ff9af26016712d244cbe39787cba425 (diff) |
Enable/Disable new-game button according if the game has started or not
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Reviewed-by: Manuel QuiƱones <manuq@laptop.org>
Diffstat (limited to 'model.py')
-rw-r--r-- | model.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -149,6 +149,7 @@ class Model(object): def read(self, game_file): self.modified = False + self.count = 0 self.data['key'] = basename(game_file) self.data['game_file'] = game_file self.data['path'] = self.temp_folder |