Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tawindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArt/tawindow.py')
-rw-r--r--TurtleArt/tawindow.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py
index 4e93e9b..517f4d8 100644
--- a/TurtleArt/tawindow.py
+++ b/TurtleArt/tawindow.py
@@ -2652,6 +2652,11 @@ class TurtleArtWindow():
def _run_stack(self, blk):
''' Run a stack of blocks. '''
+ if not self.interactive_mode:
+ # Test for forever block
+ if len(self.block_list.get_similar_blocks('block', 'forever')) > 0:
+ debug_output('WARNING: Projects with forever blocks \
+may not terminate.', False)
if self.status_spr is not None:
self.status_spr.hide()
self._autohide_shape = True