summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorSimon Rettberg2018-07-19 17:20:12 +0200
committerSimon Rettberg2018-07-19 17:20:12 +0200
commit17b0d15819944f846968a51bcc21fed6327e487c (patch)
tree31c08302c21e8d06ca7e6c32ac52b4dc73ef2ac9 /src/server
parent[server] Don't do unnecessary lock resets on mode change (diff)
downloadpvs2-17b0d15819944f846968a51bcc21fed6327e487c.tar.gz
pvs2-17b0d15819944f846968a51bcc21fed6327e487c.tar.xz
pvs2-17b0d15819944f846968a51bcc21fed6327e487c.zip
[server] SessionNameWindow: Set focus to text box on open
Diffstat (limited to 'src/server')
-rw-r--r--src/server/sessionnamewindow/sessionnamewindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/sessionnamewindow/sessionnamewindow.cpp b/src/server/sessionnamewindow/sessionnamewindow.cpp
index c171f53..5671c39 100644
--- a/src/server/sessionnamewindow/sessionnamewindow.cpp
+++ b/src/server/sessionnamewindow/sessionnamewindow.cpp
@@ -46,6 +46,7 @@ SessionNameWindow::~SessionNameWindow()
void SessionNameWindow::show(const QString& name)
{
ui->lineEditName->setText(name);
+ ui->lineEditName->setFocus();
this->showNormal();
}