mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Don't launch that Alert if the graphics file isn't found. It doesn't work
properly for some reason and the message is displayed in the inset anyway. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3836 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a351157fc6
commit
d11fd01ce7
@ -1,3 +1,8 @@
|
||||
2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* GraphicsCacheItem.C (convertToDisplayFormat): don't launch that Alert
|
||||
if the file can't be found.
|
||||
|
||||
2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* GraphicsCache.[Ch] (update): now passed filepath to determine absolute
|
||||
|
@ -434,8 +434,6 @@ void GCacheItem::convertToDisplayFormat()
|
||||
|
||||
// First, check that the file exists!
|
||||
if (!IsFileReadable(filename)) {
|
||||
Alert::alert(_("File ") + displayed_filename,
|
||||
_("\nisn't readable or doesn't exist!"));
|
||||
setStatus(ErrorNoFile);
|
||||
return;
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ GParams::GParams(InsetGraphicsParams const & iparams, string const & filepath)
|
||||
if (!filepath.empty()) {
|
||||
filename = MakeAbsPath(filename, filepath);
|
||||
}
|
||||
|
||||
|
||||
if (iparams.clip)
|
||||
bb = iparams.bb;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user