mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Fix multiple "Selected Cards" in Menu on MacOS (#5288)
This commit is contained in:
parent
07ee271478
commit
e1ba39c437
1 changed files with 3 additions and 1 deletions
|
|
@ -3970,7 +3970,9 @@ void Player::setCardMenu(QMenu *menu)
|
|||
{
|
||||
if (aCardMenu != nullptr) {
|
||||
aCardMenu->setEnabled(menu != nullptr);
|
||||
aCardMenu->setMenu(menu);
|
||||
if (menu) {
|
||||
aCardMenu->setMenu(menu);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue