summary refs log tree commit diff
path: root/src/dialogs/CreateRoom.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/CreateRoom.cc')
-rw-r--r--src/dialogs/CreateRoom.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dialogs/CreateRoom.cc b/src/dialogs/CreateRoom.cc

index 2b2fd7f2..0bda0d00 100644 --- a/src/dialogs/CreateRoom.cc +++ b/src/dialogs/CreateRoom.cc
@@ -152,3 +152,11 @@ CreateRoom::paintEvent(QPaintEvent *) QPainter p(this); style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this); } + +void +CreateRoom::showEvent(QShowEvent *event) +{ + nameInput_->setFocus(); + + QFrame::showEvent(event); +}