diff options
author | Walter Bender <walter.bender@gmail.com> | 2012-12-22 19:38:31 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2012-12-22 19:38:31 (GMT) |
commit | b838f94e26e62e14cc9ab112d33183ffb99d307b (patch) | |
tree | c163901fdfbf1e704f1684a0b7d09df64960c7be | |
parent | bee4013cf8ad93a5005a5093b64b00367cfdd5b9 (diff) |
clean up aftr hitting Stop
-rw-r--r-- | TurtleArt/talogo.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 |