equal
deleted
inserted
replaced
298 quint8 curid = ui.Pages->currentIndex(); |
298 quint8 curid = ui.Pages->currentIndex(); |
299 ui.Pages->setCurrentIndex(id); |
299 ui.Pages->setCurrentIndex(id); |
300 OnPageShown(id, curid); |
300 OnPageShown(id, curid); |
301 |
301 |
302 if (id == ID_PAGE_ROOMSLIST) { |
302 if (id == ID_PAGE_ROOMSLIST) { |
|
303 GoBack(); |
|
304 } |
|
305 if (id == ID_PAGE_NET) { |
303 if(hwnet || pnetserver) NetDisconnect(); |
306 if(hwnet || pnetserver) NetDisconnect(); |
304 GoBack(); |
|
305 } |
307 } |
306 } |
308 } |
307 |
309 |
308 void HWForm::btnExitPressed() |
310 void HWForm::btnExitPressed() |
309 { |
311 { |