fixed focus when switching to plain topic view
[quassel.git] / src / qtui / topicwidget.cpp
index 366582a..a8b414f 100644 (file)
@@ -183,6 +183,7 @@ void TopicWidget::switchPlain() {
   ui.stackedWidget->setCurrentIndex(0);
   ui.topicLineEdit->setText(_topic);
   updateGeometry();
   ui.stackedWidget->setCurrentIndex(0);
   ui.topicLineEdit->setText(_topic);
   updateGeometry();
+  emit switchedPlain();
 }
 
 // filter for the input widget to switch back to normal mode
 }
 
 // filter for the input widget to switch back to normal mode