mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 09:04:53 -07:00
Chat room: ensure focus on the input line
This commit is contained in:
parent
27bd00bec8
commit
d86fa410df
1 changed files with 4 additions and 0 deletions
|
|
@ -97,6 +97,10 @@ TabRoom::TabRoom(TabSupervisor *_tabSupervisor, AbstractClient *_client, ServerI
|
||||||
const int gameListSize = info.game_list_size();
|
const int gameListSize = info.game_list_size();
|
||||||
for (int i = 0; i < gameListSize; ++i)
|
for (int i = 0; i < gameListSize; ++i)
|
||||||
gameSelector->processGameInfo(info.game_list(i));
|
gameSelector->processGameInfo(info.game_list(i));
|
||||||
|
|
||||||
|
setFocusProxy(sayEdit);
|
||||||
|
chatView->setFocusProxy(sayEdit);
|
||||||
|
sayEdit->setFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
TabRoom::~TabRoom()
|
TabRoom::~TabRoom()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue