From b838f94e26e62e14cc9ab112d33183ffb99d307b Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 22 Dec 2012 19:38:31 +0000 Subject: clean up aftr hitting Stop --- (limited to 'TurtleArt/talogo.py') diff --git a/TurtleArt/talogo.py b/TurtleArt/talogo.py index 9cdb317..d32b254 100644 --- a/TurtleArt/talogo.py +++ b/TurtleArt/talogo.py @@ -155,6 +155,9 @@ class LogoCode: def stop_logo(self): """ Stop logo is called from the Stop button on the toolbar """ self.step = _just_stop() + # Clear istack and iline of any code that was not executed due to Stop + self.istack = [] + self.iline = None self.tw.stop_plugins() if self.tw.gst_available: from tagplay import stop_media -- cgit v0.9.1