From: Vincent van Ravesteijn Date: Sat, 5 Dec 2009 02:56:19 +0000 (+0000) Subject: Fix bug #6356: Reloading image does not work for compiling. X-Git-Tag: 2.0.0~4906 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=03a0da1a49dd9f8d6b58b2d0b8dcb685f2f024d4;p=features.git 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 --- 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;