Angus Leeming <[EMAIL PROTECTED]> writes: | Sometime ago I put the following message into InsetGraphic::draw | | // MakeAbsPath returns filename_ unchanged if it is absolute | // already. | string const file_with_path = | MakeAbsPath(params_.filename, bv->buffer()->filePath()); | | // A 'paste' operation creates a new inset with the correct filepath, | // but then the 'old' inset stored in the 'copy' operation is actually | // added to the buffer. | // Thus, we should ensure that the filepath is correct. | if (file_with_path != loader_.filename()) { | params_.filename = file_with_path; | update(params_); | } | | I suspect that John's changes to store the absolute path name internally | will have cured the symptoms of this problem, but it would be nice if paste | used the correct inset...
I do not quite get what you are at? Can you elaborate a bit? -- Lgb