mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-16 07:22:16 -07:00
Connect player->openDeckEditor signal directly in the player constructor
Took 6 minutes
This commit is contained in:
parent
c344b40a71
commit
2de650f4ba
2 changed files with 2 additions and 2 deletions
|
|
@ -43,6 +43,8 @@ Player::Player(const ServerInfo_User &info, int _id, bool _local, bool _judge, T
|
|||
|
||||
connect(this, &Player::deckChanged, playerMenu, &PlayerMenu::enableOpenInDeckEditorAction);
|
||||
connect(this, &Player::deckChanged, playerMenu, &PlayerMenu::populatePredefinedTokensMenu);
|
||||
|
||||
connect(this, &Player::openDeckEditor, game, &TabGame::openDeckEditor);
|
||||
}
|
||||
|
||||
void Player::initializeZones()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue