Skip to content

Commit b8d016c

Browse files
author
wonder
committed
python console: another fix for pasting
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15675 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent d0234eb commit b8d016c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/console.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def insertFromMimeData(self, source):
275275
# with multi-line text also run the commands
276276
for line in pasteList[:-1]:
277277
self.insertPlainText(line)
278-
self.runCommand(unicode(line))
278+
self.runCommand(unicode(self.currentCommand()))
279279
# last line: only paste the text, do not run it
280280
self.insertPlainText(unicode(pasteList[-1]))
281281

0 commit comments

Comments
 (0)