From 0ff6b1c48dcff0acdd38536596f0d2391070cbc1 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Thu, 09 May 2013 23:13:35 +0000 Subject: check for myblocks palette --- diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py index 8de5e2e..eb9478f 100644 --- a/TurtleArt/tawindow.py +++ b/TurtleArt/tawindow.py @@ -1401,7 +1401,8 @@ before making changes to your Turtle Blocks program')) self._restore_from_trash(find_top_block(blk)) elif blk.type == 'proto': if self.deleting_blocks: - if self.selected_palette == \ + if 'myblocks' in palette_names and \ + self.selected_palette == \ palette_names.index('myblocks'): self._delete_stack_alert(blk) self.parent.get_window().set_cursor( diff --git a/icons/macrosoff.svg b/icons/macrosoff.svg deleted file mode 100644 index 7d9a28c..0000000 --- a/icons/macrosoff.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - diff --git a/icons/macroson.svg b/icons/macroson.svg deleted file mode 100644 index bb8852d..0000000 --- a/icons/macroson.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - diff --git a/icons/save-macro.svg b/icons/save-macro.svg deleted file mode 100644 index c2cff38..0000000 --- a/icons/save-macro.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - -image/svg+xml \ No newline at end of file -- cgit v0.9.1