From 28be0714a4db06bb82f643d4218b9cfca0eb1914 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Tue, 31 Jul 2012 17:50:58 +0000 Subject: add restore from trash to edit toolbar --- (limited to 'TurtleArt/tawindow.py') diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py index 6e11a3a..a8b23fa 100644 --- a/TurtleArt/tawindow.py +++ b/TurtleArt/tawindow.py @@ -1297,7 +1297,7 @@ class TurtleArtWindow(): if blk.name == 'restoreall': self._restore_all_from_trash() elif blk.name == 'restore': - self._restore_latest_from_trash() + self.restore_latest_from_trash() elif blk.name == 'empty': self._empty_trash() elif blk.name == 'trashall': @@ -1686,7 +1686,7 @@ class TurtleArtWindow(): if blk.type == 'trash': self._restore_from_trash(blk) - def _restore_latest_from_trash(self): + def restore_latest_from_trash(self): ''' Restore most recent blocks from the trash can. ''' if len(self.trash_stack) == 0: return -- cgit v0.9.1