QTfrontend/hwform.cpp
changeset 8982 0c0141cf851a
parent 8977 d424c7f8b342
child 8986 f7bb323a6934
equal deleted inserted replaced
8981:6213f45b5ead 8982:0c0141cf851a
   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();