Clean room chat history when entering room
authorunc0rr
Thu, 08 Jan 2009 12:59:31 +0000
changeset 1593 3fdc92540cc8
parent 1592 5ee77ee470a6
child 1594 8e5c4ea7d52b
Clean room chat history when entering room
QTfrontend/hwform.cpp
--- a/QTfrontend/hwform.cpp	Tue Jan 06 19:47:19 2009 +0000
+++ b/QTfrontend/hwform.cpp	Thu Jan 08 12:59:31 2009 +0000
@@ -434,7 +434,6 @@
 		hwnet=0;
 	}
 	
-	ui.pageNetGame->pChatWidget->clear();
 	ui.pageRoomsList->chatWidget->clear();
 	
 	hwnet = new HWNewNet(config, ui.pageNetGame->pGameCFG, ui.pageNetGame->pNetTeamsWidget);
@@ -615,6 +614,7 @@
 
 void HWForm::NetGameEnter()
 {
+	ui.pageNetGame->pChatWidget->clear();
 	GoToPage(ID_PAGE_NETGAME);
 }