From 8d8518d12852adf6c7982ce75e90c587d82a3901 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Mon, 10 Feb 2014 19:17:39 -0500 Subject: Fixed issue 1 of #598: Auto-compile on subsequent File->Open 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(); -- cgit v0.10.1