mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-29 18:13:55 -07:00
crash fix
This commit is contained in:
parent
405a247c2c
commit
ddd58d6736
1 changed files with 2 additions and 1 deletions
|
|
@ -698,7 +698,8 @@ void Player::processGameEvent(GameEvent *event)
|
||||||
|
|
||||||
void Player::showCardMenu(const QPoint &p)
|
void Player::showCardMenu(const QPoint &p)
|
||||||
{
|
{
|
||||||
cardMenu->exec(p);
|
if (cardMenu)
|
||||||
|
cardMenu->exec(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Player::setActive(bool _active)
|
void Player::setActive(bool _active)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue