From 887710d728db64e3093b1b3587b5e379336d81ba Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Mon, 23 Jan 2017 12:11:48 +0300 Subject: [PATCH] ImageItem design time label has been fixed --- limereport/items/lrimageitem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/limereport/items/lrimageitem.cpp b/limereport/items/lrimageitem.cpp index 38e4441..ede6a1f 100644 --- a/limereport/items/lrimageitem.cpp +++ b/limereport/items/lrimageitem.cpp @@ -241,6 +241,7 @@ void ImageItem::paint(QPainter *ppainter, const QStyleOptionGraphicsItem *option if (img.isNull() && itemMode()==DesignMode){ QString text; ppainter->setFont(transformToSceneFont(QFont("Arial",10))); + ppainter->setPen(Qt::black); if (!datasource().isEmpty() && !field().isEmpty()) text = datasource()+"."+field(); else text = tr("Image");