Commit 50ae101f authored by Max-Wilhelm Bruker's avatar Max-Wilhelm Bruker
Browse files

crash fix

parent ae41194e
......@@ -60,7 +60,7 @@ void AbstractCardItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *
colorStr = color;
else if (info->getColors().size() > 1)
colorStr = "m";
else
else if (!info->getColors().isEmpty())
colorStr = info->getColors().first().toLower();
QColor bgColor;
......
Supports Markdown
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