Skip to content
Permalink
Browse files
python console: another fix for pasting
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15675 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Apr 5, 2011
1 parent d0234eb commit b8d016cf15549dbc4b40cc3e68675b0fccc4ce10
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/console.py
@@ -275,7 +275,7 @@ def insertFromMimeData(self, source):
# with multi-line text also run the commands
for line in pasteList[:-1]:
self.insertPlainText(line)
self.runCommand(unicode(line))
self.runCommand(unicode(self.currentCommand()))
# last line: only paste the text, do not run it
self.insertPlainText(unicode(pasteList[-1]))

0 comments on commit b8d016c

Please sign in to comment.