Fixed issue 1 of #598: Auto-compile on subsequent File->Open

issue406
Marius Kintel 2014-02-10 19:17:39 -05:00
parent 64eee477c7
commit 8d8518d128
1 changed files with 1 additions and 0 deletions

View File

@ -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();