--- a/QTfrontend/hwform.cpp Mon Feb 22 10:56:43 2010 +0000
+++ b/QTfrontend/hwform.cpp Mon Feb 22 22:51:21 2010 +0000
@@ -440,6 +440,16 @@
{
ui.pageGameStats->renderStats();
}
+
+ // load and save ignore/friends lists
+ if(lastid == ID_PAGE_MULTIPLAYER || lastid == ID_PAGE_NETGAME) // leaving a room
+ ui.pageNetGame->pChatWidget->saveLists(ui.pageOptions->editNetNick->text());
+ else if(lastid == ID_PAGE_ROOMSLIST) // leaving the lobby
+ ui.pageRoomsList->chatWidget->saveLists(ui.pageOptions->editNetNick->text());
+ if(id == ID_PAGE_MULTIPLAYER || id == ID_PAGE_NETGAME) // joining a room
+ ui.pageNetGame->pChatWidget->loadLists(ui.pageOptions->editNetNick->text());
+ else if(id == ID_PAGE_ROOMSLIST) // joining the lobby
+ ui.pageRoomsList->chatWidget->loadLists(ui.pageOptions->editNetNick->text());
}
void HWForm::GoToPage(quint8 id)