mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Fix crash reported in http://bugzilla.lyx.org/show_bug.cgi?id=4873
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:
parent
d83603245f
commit
9406eb0ff9
@ -407,7 +407,12 @@ void Loader::Impl::statusChanged()
|
|||||||
|
|
||||||
void Loader::Impl::createPixmap()
|
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;
|
return;
|
||||||
|
|
||||||
image_.reset(cached_item_->image()->clone());
|
image_.reset(cached_item_->image()->clone());
|
||||||
|
Loading…
Reference in New Issue
Block a user