QTfrontend/hwform.cpp
changeset 7741 d216f0599291
parent 7723 ca05b576ec74
child 7743 dc41e9222d2c
equal deleted inserted replaced
7740:076f57836ee3 7741:d216f0599291
   624 
   624 
   625     if (id == ID_PAGE_VIDEOS )
   625     if (id == ID_PAGE_VIDEOS )
   626     {
   626     {
   627         config->reloadVideosValues();
   627         config->reloadVideosValues();
   628     }
   628     }
   629 
       
   630     // load and save ignore/friends lists
       
   631     if (lastid == ID_PAGE_NETGAME) // leaving a room
       
   632         ui.pageNetGame->pChatWidget->saveLists(ui.pageOptions->editNetNick->text());
       
   633     else if(lastid == ID_PAGE_ROOMSLIST) // leaving the lobby
       
   634         ui.pageRoomsList->chatWidget->saveLists(ui.pageOptions->editNetNick->text());
       
   635 
       
   636     if (id == ID_PAGE_NETGAME) // joining a room
       
   637         ui.pageNetGame->pChatWidget->loadLists(ui.pageOptions->editNetNick->text());
       
   638 // joining the lobby
       
   639     else if (id == ID_PAGE_ROOMSLIST)
       
   640         ui.pageRoomsList->chatWidget->loadLists(ui.pageOptions->editNetNick->text());
       
   641 
       
   642 }
   629 }
   643 
   630 
   644 void HWForm::GoToPage(int id)
   631 void HWForm::GoToPage(int id)
   645 {
   632 {
   646     bool stopAnim = false;
   633     bool stopAnim = false;