QTfrontend/ui/widget/chatwidget.cpp
changeset 6150 1d98752c1fba
parent 6149 0b92341adb6a
child 6151 9fd5b70acb1a
--- a/QTfrontend/ui/widget/chatwidget.cpp	Tue Oct 18 15:34:40 2011 +0200
+++ b/QTfrontend/ui/widget/chatwidget.cpp	Wed Oct 19 02:10:27 2011 +0200
@@ -334,6 +334,7 @@
 void HWChatWidget::returnPressed()
 {
     QStringList lines = chatEditLine->text().split('\n');
+    chatEditLine->rememberCurrentText();
     chatEditLine->clear();
     foreach (const QString &line, lines)
         emit chatLine(line);