aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/python-console/Console.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/python-console/Console.cpp')
-rw-r--r--3rdparty/python-console/Console.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/3rdparty/python-console/Console.cpp b/3rdparty/python-console/Console.cpp
index f9413542..51057385 100644
--- a/3rdparty/python-console/Console.cpp
+++ b/3rdparty/python-console/Console.cpp
@@ -241,6 +241,7 @@ void Console::autocomplete( )
append("");
displayPrompt( );
moveCursorToEnd( );
+ QTextCursor cursor = textCursor();
cursor.insertText( line );
moveCursorToEnd( );
}