minor improvement (automagically setting the focus when entering topic edit mode)
[quassel.git] / src / qtui / topicwidget.cpp
index 8adb0b6..ede4a71 100644 (file)
@@ -49,6 +49,7 @@ void TopicWidget::on_topicButton_clicked() {
 void TopicWidget::switchEditable() {
   ui.topicButton->hide();
   ui.topicLineEdit->show();
 void TopicWidget::switchEditable() {
   ui.topicButton->hide();
   ui.topicLineEdit->show();
+  ui.topicLineEdit->setFocus();
 }
 
 void TopicWidget::switchPlain() {
 }
 
 void TopicWidget::switchPlain() {