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

client crash fix

parent 0440fb2e
......@@ -415,7 +415,7 @@ void CardItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
QVariant CardItem::itemChange(GraphicsItemChange change, const QVariant &value)
{
if (change == ItemSelectedHasChanged) {
if ((change == ItemSelectedHasChanged) && owner) {
if (value == true)
owner->setCardMenu(cardMenu);
else if (owner->getCardMenu() == cardMenu)
......
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