better?
authornemo
Tue, 23 Oct 2012 12:09:15 -0400
changeset 7803 7c4d83f8ac23
parent 7802 c7f5c3bd7f8c
child 7804 9122461ae32b
better?
QTfrontend/hwform.cpp
--- 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()