equal
deleted
inserted
replaced
598 #endif |
598 #endif |
599 |
599 |
600 qDebug("Leaving %s, entering %s", qPrintable(stringifyPageId(lastid)), qPrintable(stringifyPageId(id))); |
600 qDebug("Leaving %s, entering %s", qPrintable(stringifyPageId(lastid)), qPrintable(stringifyPageId(id))); |
601 if (lastid == ID_PAGE_MAIN) |
601 if (lastid == ID_PAGE_MAIN) |
602 { |
602 { |
603 ui.pageMain->toggleNetworkChoice(); |
603 ui.pageMain->resetNetworkChoice(); |
604 } |
604 } |
605 |
605 |
606 // pageEnter and pageLeave events |
606 // pageEnter and pageLeave events |
607 ((AbstractPage*)ui.Pages->widget(lastid))->triggerPageLeave(); |
607 ((AbstractPage*)ui.Pages->widget(lastid))->triggerPageLeave(); |
608 ((AbstractPage*)ui.Pages->widget(id))->triggerPageEnter(); |
608 ((AbstractPage*)ui.Pages->widget(id))->triggerPageEnter(); |