changeset 396:171c3d817c48

Refresh display after saving level. (A hack, but it does the job.)
author Jeremy Thurgood <firxen@gmail.com>
date Sat, 17 Sep 2011 09:21:21 +0200
parents e059418aa8c4
children e917ec38891b
files TODO.txt mamba/habitats/editor.py
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/TODO.txt	Sat Sep 17 09:17:14 2011 +0200
+++ b/TODO.txt	Sat Sep 17 09:21:21 2011 +0200
@@ -17,7 +17,6 @@
 Sleep
 Editor:
 * confirmation dialog for the new button which is right under the tiles button.
-* when you save, the display isn't cleared, so the level is overlaid by itself.
 Source:
 * README
 Levels:
--- a/mamba/habitats/editor.py	Sat Sep 17 09:17:14 2011 +0200
+++ b/mamba/habitats/editor.py	Sat Sep 17 09:21:21 2011 +0200
@@ -211,6 +211,7 @@
             message.grab_focus()
             return
         self.level.save_level()
+        self.refresh_display()
         return True
 
     def new(self, ev, widget):