Commit bd290b89 authored by Ralf Habacker's avatar Ralf Habacker

Make bounding box debug display of class UMLWidget visible with default border colors

The red color used for drawing bounding box was not visible if the
widget used default red border color.
parent 469778ae
......@@ -1729,7 +1729,7 @@ void UMLWidget::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
painter->setPen(Qt::green);
painter->setBrush(Qt::NoBrush);
painter->drawPath(shape());
painter->setPen(Qt::red);
painter->setPen(Qt::blue);
painter->drawRect(boundingRect());
// origin
painter->drawLine(-10, 0, 10, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment