diff options
author | Marius Kintel <marius@kintel.net> | 2012-02-19 10:40:33 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-02-19 10:40:33 (GMT) |
commit | 03bbd55c9377823c67ca8ea8027b0078d6d464ba (patch) | |
tree | 934196c0693b4e90a3a6e25dc9aff82e7bea6590 | |
parent | bddf392281d20bf1ad763577c8d3a846c5891ab9 (diff) |
Fixed recently introduced bug: Don't clear console unless something is being compiled
-rw-r--r-- | src/mainwin.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc index 45b9ff3..be7c567 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -1020,6 +1020,8 @@ bool MainWindow::compileTopLevelDocument(bool reload) } if (shouldcompiletoplevel) { + console->clear(); + updateTemporalVariables(); this->last_compiled_doc = editor->toPlainText(); @@ -1102,7 +1104,6 @@ void MainWindow::actionReloadCompile() if (GuiLocker::isLocked()) return; GuiLocker lock; setCurrentOutput(); - console->clear(); // PRINT("Parsing design (AST generation)..."); // QApplication::processEvents(); |