From f91de7e1f144b28e462726bd69330a5c03d7f491 Mon Sep 17 00:00:00 2001 From: Matt Lowe Date: Sun, 8 Feb 2015 20:56:16 +0100 Subject: [PATCH] Local chat focus Games with only 1 player will now not focus on the chat when starting the game. This helps with goldfishing. --- cockatrice/src/tab_game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/tab_game.cpp b/cockatrice/src/tab_game.cpp index 0eeefe6f..4cd941af 100644 --- a/cockatrice/src/tab_game.cpp +++ b/cockatrice/src/tab_game.cpp @@ -886,7 +886,7 @@ void TabGame::startGame(bool resuming) gameInfo.set_started(true); static_cast(gameView->scene())->rearrange(); gameView->show(); - if(sayEdit) + if(sayEdit && players.size() > 1) sayEdit->setFocus(); }