Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
6f18e369
Commit
6f18e369
authored
Jul 03, 2014
by
Fabio Bas
Browse files
Chat room: ensure the line input has focus when the window gets created
parent
d86fa410
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/tab_room.cpp
View file @
6f18e369
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
#include
<QLabel>
#include
<QLabel>
#include
<QToolButton>
#include
<QToolButton>
#include
<QSplitter>
#include
<QSplitter>
#include
<QTimer>
#include
"tab_supervisor.h"
#include
"tab_supervisor.h"
#include
"tab_room.h"
#include
"tab_room.h"
#include
"tab_userlists.h"
#include
"tab_userlists.h"
...
@@ -100,7 +101,7 @@ TabRoom::TabRoom(TabSupervisor *_tabSupervisor, AbstractClient *_client, ServerI
...
@@ -100,7 +101,7 @@ TabRoom::TabRoom(TabSupervisor *_tabSupervisor, AbstractClient *_client, ServerI
setFocusProxy
(
sayEdit
);
setFocusProxy
(
sayEdit
);
chatView
->
setFocusProxy
(
sayEdit
);
chatView
->
setFocusProxy
(
sayEdit
);
sayEdit
->
setFocus
();
QTimer
::
singleShot
(
0
,
sayEdit
,
SLOT
(
setFocus
()
))
;
}
}
TabRoom
::~
TabRoom
()
TabRoom
::~
TabRoom
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment