]> git.lyx.org Git - features.git/blobdiff - src/support/FileName.cpp
Fix bug 641 (Detect stale lyxpipes after crash)
[features.git] / src / support / FileName.cpp
index 737bfd9f047e39cd6f1f4f46ae1fc4dd86f6c6c2..253ba88c2ed5cbe85a98702650ad072e001f2b8f 100644 (file)
@@ -556,6 +556,7 @@ unsigned long FileName::checksum() const
 bool FileName::removeFile() const
 {
        bool const success = QFile::remove(d->fi.absoluteFilePath());
+       d->refresh();
        if (!success && exists())
                LYXERR0("Could not delete file " << *this);
        return success;