]> git.lyx.org Git - features.git/commitdiff
Fix bug #6356: Reloading image does not work for compiling.
authorVincent van Ravesteijn <vfr@lyx.org>
Sat, 5 Dec 2009 02:56:19 +0000 (02:56 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sat, 5 Dec 2009 02:56:19 +0000 (02:56 +0000)
Refresh the file info, otherwise InsetGraphics::latex might still think that the file does not exist.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32355 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetGraphics.cpp

index af89ebb415bd03a4202a6d8cee71d90a929cbf51..2e63412103c73abbe877a26d72bd1a016d9a2a3a 100644 (file)
@@ -223,6 +223,7 @@ void InsetGraphics::doDispatch(Cursor & cur, FuncRequest & cmd)
                break;
 
        case LFUN_GRAPHICS_RELOAD:
+               params_.filename.refresh();
                graphic_->reload();
                break;