diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-07-14 14:06:05 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-07-14 14:06:05 +0200 |
commit | 5216e488639fc8420d38c35177b796e1cf56ac8b (patch) | |
tree | c7016df7e88d637a74aaf7a439b4cf39d82f75ed /gui/pyconsole.cc | |
parent | 98c594885698b557311ac84195599b35968719e0 (diff) | |
download | nextpnr-5216e488639fc8420d38c35177b796e1cf56ac8b.tar.gz nextpnr-5216e488639fc8420d38c35177b796e1cf56ac8b.tar.bz2 nextpnr-5216e488639fc8420d38c35177b796e1cf56ac8b.zip |
join python and info into one tab
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 |