equal
deleted
inserted
replaced
1289 if (hwnet) |
1289 if (hwnet) |
1290 { |
1290 { |
1291 QString errorStr = QMessageBox::tr("Connection to server is lost") + (reason.isEmpty()?"":("\n\n" + HWNewNet::tr("Quit reason: ") + '"' + reason +'"')); |
1291 QString errorStr = QMessageBox::tr("Connection to server is lost") + (reason.isEmpty()?"":("\n\n" + HWNewNet::tr("Quit reason: ") + '"' + reason +'"')); |
1292 ShowErrorMessage(errorStr); |
1292 ShowErrorMessage(errorStr); |
1293 } |
1293 } |
1294 if (ui.Pages->currentIndex() != ID_PAGE_NET) |
1294 |
1295 { |
1295 while (ui.Pages->currentIndex() != ID_PAGE_NET |
1296 while (!PagesStack.isEmpty()) PagesStack.pop(); |
1296 && ui.Pages->currentIndex() != ID_PAGE_NETTYPE |
1297 PagesStack.push(ID_PAGE_MAIN); |
1297 && ui.Pages->currentIndex() != ID_PAGE_MAIN) |
1298 GoToPage(ID_PAGE_NET); |
1298 { |
|
1299 GoBack(); |
1299 } |
1300 } |
1300 } |
1301 } |
1301 |
1302 |
1302 void HWForm::NetConnected() |
1303 void HWForm::NetConnected() |
1303 { |
1304 { |