QTfrontend/hwform.cpp
changeset 7803 7c4d83f8ac23
parent 7802 c7f5c3bd7f8c
child 7823 46f115569045
--- a/QTfrontend/hwform.cpp	Tue Oct 23 11:14:08 2012 -0400
+++ b/QTfrontend/hwform.cpp	Tue Oct 23 12:09:15 2012 -0400
@@ -1286,7 +1286,11 @@
         ShowErrorMessage(errorStr);
     }
     if (ui.Pages->currentIndex() != ID_PAGE_NET)
+    {
+        while (!PagesStack.isEmpty()) PagesStack.pop();
+        PagesStack.push(ID_PAGE_MAIN);
         GoToPage(ID_PAGE_NET);
+    }
 }
 
 void HWForm::NetConnected()