Vincent van Ravesteijn wrote:
> This adds a context menu option to reload a graphic object.

i'm very happy you dug out it :)

>  bool CacheItem::Impl::tryDisplayFormat(FileName & filename, string & from)
>  {
>       // First, check that the file exists!
> +     // force a refresh.
> +     filename_.lastModified();
>       if (!filename_.isReadableFile()) {
>               if (status_ != ErrorNoFile) {
>                       status_ = ErrorNoFile;


looks like switched comments.
also filename_.lastModified(); should be before isReadableFile()?

pavel

Reply via email to