Don't draw shadow when printing if empty image selection.

This commit is contained in:
Jim Evins
2016-07-02 15:26:38 -04:00
parent c8e3248ce7
commit 016e86e9c7
+3
View File
@@ -133,6 +133,8 @@ void LabelModelImageObject::drawShadow( QPainter* painter, bool inEditor, merge:
delete shadowImage;
}
else
{
if ( mImage || inEditor )
{
painter->setBrush( shadowColor );
painter->setPen( QPen( Qt::NoPen ) );
@@ -140,6 +142,7 @@ void LabelModelImageObject::drawShadow( QPainter* painter, bool inEditor, merge:
painter->drawRect( destRect );
}
}
}
///