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
This commit is contained in:
Vincent van Ravesteijn 2009-12-05 02:56:19 +00:00
parent 0acff0aa75
commit 03a0da1a49

View File

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