diff -r 505643d4c23d -r ce60b734fff1 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Sat Oct 29 09:19:04 2011 +0200 +++ b/QTfrontend/hwform.cpp Sat Oct 29 11:47:37 2011 +0200 @@ -755,6 +755,9 @@ hwnet->NewNick(newNick); config->setValue("net/nick", newNick); config->updNetNick(); + + ui.pageRoomsList->setUser(nick); + ui.pageNetGame->setUser(nick); } void HWForm::NetAuthFailed() @@ -800,8 +803,6 @@ hwnet=0; } - ui.pageRoomsList->chatWidget->clear(); - hwnet = new HWNewNet(); GoToPage(ID_PAGE_CONNECTING); @@ -939,6 +940,10 @@ config->setValue("net/nick",nick); config->updNetNick(); } + + ui.pageRoomsList->setUser(nick); + ui.pageNetGame->setUser(nick); + hwnet->Connect(hostName, port, nick); }