QTfrontend/hwform.cpp
changeset 8977 d424c7f8b342
parent 8918 512753ea4b1b
child 8982 0c0141cf851a
equal deleted inserted replaced
8976:5d9f43ad036a 8977:d424c7f8b342
   596 #ifdef USE_XFIRE
   596 #ifdef USE_XFIRE
   597     updateXfire();
   597     updateXfire();
   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)
       
   602     {
       
   603         ui.pageMain->toggleNetworkChoice();
       
   604     }
   601 
   605 
   602     // pageEnter and pageLeave events
   606     // pageEnter and pageLeave events
   603     ((AbstractPage*)ui.Pages->widget(lastid))->triggerPageLeave();
   607     ((AbstractPage*)ui.Pages->widget(lastid))->triggerPageLeave();
   604     ((AbstractPage*)ui.Pages->widget(id))->triggerPageEnter();
   608     ((AbstractPage*)ui.Pages->widget(id))->triggerPageEnter();
   605 
   609