From 787773e949e797f187f7f16551a5840715bf818f Mon Sep 17 00:00:00 2001 From: Matt Lowe Date: Tue, 3 Feb 2015 13:53:18 +0100 Subject: [PATCH] Chat has focus when starting game When the game starts the line edit now has focus immediately. --- cockatrice/src/tab_game.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cockatrice/src/tab_game.cpp b/cockatrice/src/tab_game.cpp index aefcf02e..6baac310 100644 --- a/cockatrice/src/tab_game.cpp +++ b/cockatrice/src/tab_game.cpp @@ -885,6 +885,7 @@ void TabGame::startGame(bool resuming) gameInfo.set_started(true); static_cast(gameView->scene())->rearrange(); gameView->show(); + sayEdit->setFocus(); } void TabGame::stopGame()