From b99d69889a3683d5015ff60cd47ce83604417ff0 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Thu, 12 Jul 2012 12:46:38 +0000 Subject: add support for drag-and-drop --- (limited to 'TurtleArtActivity.py') diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py index 7d215d8..82275d7 100644 --- a/TurtleArtActivity.py +++ b/TurtleArtActivity.py @@ -1139,7 +1139,8 @@ in order to use the plugin.')) text = clipboard.wait_for_text() if text is not None: if self.tw.selected_blk is not None and \ - self.tw.selected_blk.name == 'string': + self.tw.selected_blk.name == 'string' and \ + text[0:2] != '[[': # Don't paste block data into a string for i in text: self.tw.process_alphanumeric_input(i, -1) self.tw.selected_blk.resize() -- cgit v0.9.1