From 03a0da1a49dd9f8d6b58b2d0b8dcb685f2f024d4 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sat, 5 Dec 2009 02:56:19 +0000 Subject: [PATCH] Fix bug #6356: Reloading image does not work for compiling. 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/insets/InsetGraphics.cpp b/src/insets/InsetGraphics.cpp index af89ebb415..2e63412103 100644 --- a/src/insets/InsetGraphics.cpp +++ b/src/insets/InsetGraphics.cpp @@ -223,6 +223,7 @@ void InsetGraphics::doDispatch(Cursor & cur, FuncRequest & cmd) break; case LFUN_GRAPHICS_RELOAD: + params_.filename.refresh(); graphic_->reload(); break;