mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
This reverts commit b4036c8671.
This commit is contained in:
parent
9bc6ae1567
commit
a4b0cddcf8
1 changed files with 1 additions and 3 deletions
|
|
@ -482,9 +482,7 @@ QVariant CardItem::itemChange(GraphicsItemChange change, const QVariant &value)
|
|||
owner->setCardMenu(cardMenu);
|
||||
owner->getGame()->setActiveCard(this);
|
||||
} else if (owner->getCardMenu() == cardMenu) {
|
||||
if (scene() && scene()->selectedItems().isEmpty()) {
|
||||
owner->setCardMenu(nullptr);
|
||||
}
|
||||
owner->setCardMenu(nullptr);
|
||||
owner->getGame()->setActiveCard(nullptr);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue