preferencesAboutTextFull
Yimgo 12 years ago
parent f3496036d5
commit 4cb394ddac
  1. 5
      src/domain/UBGraphicsWidgetItem.cpp

@ -889,10 +889,7 @@ void UBGraphicsW3CWidgetItem::paint(QPainter * painter, const QStyleOptionGraphi
rc = scene()->renderingContext(); rc = scene()->renderingContext();
if (rc == UBGraphicsScene::NonScreen || rc == UBGraphicsScene::PdfExport) { if (rc == UBGraphicsScene::NonScreen || rc == UBGraphicsScene::PdfExport) {
if (!snapshot().isNull())
if (snapshot().isNull())
takeSnapshot();
painter->drawPixmap(0, 0, snapshot()); painter->drawPixmap(0, 0, snapshot());
} }
else else

Loading…
Cancel
Save