QTfrontend/hwform.cpp
changeset 4592 b1fe47b11b99
parent 4576 d85062310790
child 4594 5645462cc78f
--- a/QTfrontend/hwform.cpp	Tue Dec 21 02:17:45 2010 +0100
+++ b/QTfrontend/hwform.cpp	Tue Dec 21 10:46:52 2010 +0100
@@ -86,7 +86,7 @@
 
     ui.setupUi(this);
     setMinimumSize(760, 580);
-    setFocusPolicy(Qt::StrongFocus);
+    //setFocusPolicy(Qt::StrongFocus);
     CustomizePalettes();
 
     ui.pageOptions->CBResolution->addItems(sdli.getResolutions());
@@ -308,11 +308,13 @@
   }
 }
 
+/*
 void HWForm::keyReleaseEvent(QKeyEvent *event)
 {
-  if (event->key() == Qt::Key_Escape /*|| event->key() == Qt::Key_Backspace*/ ) 
+  if (event->key() == Qt::Key_Escape) 
     this->GoBack();
 }
+*/
 
 void HWForm::CustomizePalettes()
 {