diff options
author | Marius Kintel <marius@kintel.net> | 2014-02-11 00:17:39 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2014-02-11 00:17:39 (GMT) |
commit | 8d8518d12852adf6c7982ce75e90c587d82a3901 (patch) | |
tree | 8b47899eecb110564b2a7edadb7bbef1d49c2c41 | |
parent | 64eee477c703169d4c00ec140fcd7682d9a13a9b (diff) |
Fixed issue 1 of #598: Auto-compile on subsequent File->Open
-rw-r--r-- | src/mainwin.cc | 1 |
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(); |