Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/turtleblocks.py
diff options
context:
space:
mode:
Diffstat (limited to 'turtleblocks.py')
-rwxr-xr-xturtleblocks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/turtleblocks.py b/turtleblocks.py
index 27fab13..00ca569 100755
--- a/turtleblocks.py
+++ b/turtleblocks.py
@@ -604,6 +604,7 @@ Would you like to save before quitting?'))
def _do_eraser_cb(self, widget):
''' Callback for eraser button. '''
self.tw.eraser_button()
+ self.restore_challenge()
return
def _do_run_cb(self, widget=None):
@@ -658,7 +659,6 @@ Would you like to save before quitting?'))
self.win.get_window().set_cursor(gtk.gdk.Cursor(gtk.gdk.HAND1))
self.tw.deleting_blocks = True
-
def restore_challenge(self):
''' Restore the current challange after a clear screen '''
if self._custom_filepath is None: