Backport fix for incorrect gap in texts

parent eb395991
......@@ -167,6 +167,7 @@ void MyTextItem::updateGeometry(int, int, int)
QString text = toPlainText();
m_path = QPainterPath();
m_path.setFillRule(Qt::WindingFill);
if (text.isEmpty()) {
//
} else {
......
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