mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 00:53:57 -07:00
Fix #5774: Unused non-roll shortcuts in lobby
Cause: Player menu shortcuts are activated as soon as a local player is added, which happens in the deck selection lobby before the game starts. Resolution: Disable full shortcut activation until the game has started. Allow only the roll-die shortcut (Ctrl+I) while in the lobby.
This commit is contained in:
parent
94ea574c76
commit
9080a443ed
4 changed files with 55 additions and 1 deletions
|
|
@ -23,6 +23,7 @@ public slots:
|
|||
|
||||
public:
|
||||
explicit UtilityMenu(Player *player, QMenu *playerMenu);
|
||||
void setLobbyShortcutsActive();
|
||||
|
||||
[[nodiscard]] bool createAnotherTokenActionExists() const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue