QTfrontend/chatwidget.cpp
changeset 1521 971f523d7c01
parent 1520 f72f538eba05
child 1577 e3e37c730dc0
--- a/QTfrontend/chatwidget.cpp	Fri Nov 28 16:45:31 2008 +0000
+++ b/QTfrontend/chatwidget.cpp	Fri Nov 28 16:46:56 2008 +0000
@@ -34,6 +34,7 @@
   mainLayout.setColumnStretch(1, 25);
 
   chatEditLine = new QLineEdit(this);
+  chatEditLine->setMaxLength(300);
   connect(chatEditLine, SIGNAL(returnPressed()), this, SLOT(returnPressed()));
 
   mainLayout.addWidget(chatEditLine, 1, 0, 1, 2);