I don't think the crash is related to that bug.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25514 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-07-09 09:48:59 +00:00
parent d83603245f
commit 9406eb0ff9

View File

@ -407,7 +407,12 @@ void Loader::Impl::statusChanged()
void Loader::Impl::createPixmap()
{
if (!cached_item_.get() || !params_.display || status_ != Loaded)
if (!cached_item_.get()) {
LYXERR(Debug::GRAPHICS, "pixmap not cached yet");
return;
}
if (!params_.display || status_ != Loaded)
return;
image_.reset(cached_item_->image()->clone());