mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
Removed annoying popup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2377 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
baf92c89a1
commit
03b16293dc
@ -1,3 +1,8 @@
|
||||
2001-07-29 Baruch Even <baruch@lyx.org>
|
||||
|
||||
* GraphicsCacheItem.C (findTargetFormat): Removed error dialog box,
|
||||
too annoying.
|
||||
|
||||
2001-07-23 Baruch Even <baruch@lyx.org>
|
||||
|
||||
* GraphicsCacheItem.C (convertImage): Fixed a bug with regard to loading
|
||||
|
@ -109,14 +109,6 @@ string const findTargetFormat(string const & from)
|
||||
if (iter == end) {
|
||||
// We do not know how to convert the image to something loadable.
|
||||
lyxerr << "ERROR: Do not know how to convert image." << std::endl;
|
||||
|
||||
string const first(_("Cannot convert image to display format"));
|
||||
string const second1(_("Need converter from "));
|
||||
string const second2(_(" to "));
|
||||
string const second(second1 + from + second2 + formats[0]);
|
||||
|
||||
WriteAlert(first, second);
|
||||
|
||||
return string();
|
||||
}
|
||||
|
||||
@ -146,7 +138,7 @@ GraphicsCacheItem::convertImage(string const & filename)
|
||||
|
||||
bool result = converters.Convert(0, filename, tempfile, from, to);
|
||||
tempfile.append(".xpm");
|
||||
|
||||
|
||||
// For now we are synchronous
|
||||
imageConverted(result);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user