]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsCacheItem.cpp
Correct the mess introduced in r33250.
[lyx.git] / src / graphics / GraphicsCacheItem.cpp
index 0bac4b559ea801e694dea2de52467a861cef82dc..4c047079759a9919f645a573c4de3bc8e2800c68 100644 (file)
@@ -349,6 +349,7 @@ static string const findTargetFormat(string const & from)
 bool CacheItem::Impl::tryDisplayFormat(FileName & filename, string & from)
 {
        // First, check that the file exists!
+       filename_.refresh();
        if (!filename_.isReadableFile()) {
                if (status_ != ErrorNoFile) {
                        status_ = ErrorNoFile;