]> git.lyx.org Git - features.git/commitdiff
Don't launch that Alert if the graphics file isn't found. It doesn't work
authorAngus Leeming <leeming@lyx.org>
Tue, 26 Mar 2002 12:14:23 +0000 (12:14 +0000)
committerAngus Leeming <leeming@lyx.org>
Tue, 26 Mar 2002 12:14:23 +0000 (12:14 +0000)
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

src/graphics/ChangeLog
src/graphics/GraphicsCacheItem.C
src/graphics/GraphicsParams.C

index 39529bd9b546481856b4792b2bdfdc0e468d09cd..cf549663a281d5f2a06b979d0ba62495982c76a9 100644 (file)
@@ -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
index dfd9cd23a69c2bbfbf8dea91eacd1a791f32b3b8..346126283a645fe1cdc1472c3e3590ae5c7ad34f 100644 (file)
@@ -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;
        }
index eeea38affce9bd114be31e587c4a3b304959a633..b0cf8e1312aef3ac214617c7b558d2fbaeb91b1c 100644 (file)
@@ -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;