# HG changeset patch # User Jeremy Thurgood # Date 1316244081 -7200 # Node ID 171c3d817c48995778546d97361983dde7b1d9c5 # Parent e059418aa8c4ff0a98b51c5eba432bd9bb4b9b72 Refresh display after saving level. (A hack, but it does the job.) diff -r e059418aa8c4 -r 171c3d817c48 TODO.txt --- 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: diff -r e059418aa8c4 -r 171c3d817c48 mamba/habitats/editor.py --- 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):