QTfrontend/hwform.cpp
changeset 2820 389e8b286afe
parent 2776 9572aae13d49
child 2821 67815ee123d7
--- a/QTfrontend/hwform.cpp	Tue Feb 16 03:03:26 2010 +0000
+++ b/QTfrontend/hwform.cpp	Wed Feb 17 17:38:32 2010 +0000
@@ -788,10 +788,12 @@
 				pRegisterServer = 0;
 			}
 			//setVisible(false);
+			setFocusPolicy(Qt::NoFocus);
 			break;
 		}
 		case gsFinished: {
 			//setVisible(true);
+			setFocusPolicy(Qt::StrongFocus);
 			GoBack();
 			Music(ui.pageOptions->CBEnableFrontendMusic->isChecked());
 			if (wBackground) wBackground->startAnimation();
@@ -801,6 +803,7 @@
 		}
 		default: {
 			//setVisible(true);
+			setFocusPolicy(Qt::StrongFocus);
 			quint8 id = ui.Pages->currentIndex();
 			if (id == ID_PAGE_INGAME) {
 				GoBack();