diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2011-09-30 18:41:42 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2011-09-30 18:41:42 (GMT) |
commit | 71e9e15193b9276549a1b26f731c2cb2b0417181 (patch) | |
tree | 464b6034180a006ee3228761ab727b7fb50b0739 /model.py | |
parent | c78745b7e399395ae6ebb56ab51a14903f8e2704 (diff) |
If the game is modified, must set model mode = 'file'
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'model.py')
-rw-r--r-- | model.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -147,6 +147,7 @@ class Model(object): logging.debug('Model mark_modified is_demo False') self.is_demo = False self.modified = True + self.data['mode'] = 'file' def read(self, game_file): self.modified = False |