diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-14 19:12:29 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-14 19:12:29 +0100 |
commit | 1b5c1b028e0a44c6171aa2b95809e2b6edb9c13c (patch) | |
tree | 56765c8830654b50e0e7f302527a34fbeb38b371 /gui/pyconsole.cc | |
parent | eafb9b4281db82b7f5b2cfcab4dfcfd1dcb038aa (diff) | |
parent | 8d1996cae99ff80a2d9390b94db54217ed1d8726 (diff) | |
download | nextpnr-1b5c1b028e0a44c6171aa2b95809e2b6edb9c13c.tar.gz nextpnr-1b5c1b028e0a44c6171aa2b95809e2b6edb9c13c.tar.bz2 nextpnr-1b5c1b028e0a44c6171aa2b95809e2b6edb9c13c.zip |
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
Diffstat (limited to 'gui/pyconsole.cc')
-rw-r--r-- | gui/pyconsole.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gui/pyconsole.cc b/gui/pyconsole.cc index 6da06b7e..0ee393ce 100644 --- a/gui/pyconsole.cc +++ b/gui/pyconsole.cc @@ -18,8 +18,6 @@ * */ -#ifndef NO_PYTHON - #include "pyconsole.h" #include "pyinterpreter.h" @@ -68,6 +66,7 @@ void PythonConsole::displayString(QString text) setTextColor(NORMAL_COLOR); cursor.insertText(text); cursor.movePosition(QTextCursor::EndOfLine); + moveCursorToEnd(); } void PythonConsole::moveCursorToEnd() @@ -78,5 +77,3 @@ void PythonConsole::moveCursorToEnd() } NEXTPNR_NAMESPACE_END - -#endif // NO_PYTHON |