summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainwin.cc3
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();
contact: Jan Huwald // Impressum