Don't draw shadow when printing if empty image selection.
This commit is contained in:
@@ -133,6 +133,8 @@ void LabelModelImageObject::drawShadow( QPainter* painter, bool inEditor, merge:
|
|||||||
delete shadowImage;
|
delete shadowImage;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if ( mImage || inEditor )
|
||||||
{
|
{
|
||||||
painter->setBrush( shadowColor );
|
painter->setBrush( shadowColor );
|
||||||
painter->setPen( QPen( Qt::NoPen ) );
|
painter->setPen( QPen( Qt::NoPen ) );
|
||||||
@@ -140,6 +142,7 @@ void LabelModelImageObject::drawShadow( QPainter* painter, bool inEditor, merge:
|
|||||||
painter->drawRect( destRect );
|
painter->drawRect( destRect );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user