Commit d14b5560 authored by Craig Watson's avatar Craig Watson

Fix crash when changing page color

parent a673aedb
......@@ -84,7 +84,8 @@ void UBGraphicsStrokesGroup::setColor(const QColor &color, colorType pColorType)
}
}
mDebugText->setBrush(QBrush(color));
if (mDebugText)
mDebugText->setBrush(QBrush(color));
}
QColor UBGraphicsStrokesGroup::color(colorType pColorType) const
......
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