summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainwin.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index f6a04b7..94f5c77 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -526,6 +526,7 @@ MainWindow::openFile(const QString &new_filename)
#endif
setFileName(actual_filename);
editor->setPlainText("");
+ this->last_compiled_doc = "";
fileChangedOnDisk(); // force cached autoReloadId to update
refreshDocument();
contact: Jan Huwald // Impressum