Salome HOME
Fix for PAL10496.
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_SymmetryDlg.cxx
index f0689d5d8a7bef696c71532292979f3e6b1efd8e..d6653b18bd72ccdd1894f974faf2dcf1a6320f11 100644 (file)
@@ -916,3 +916,20 @@ void SMESHGUI_SymmetryDlg::onVectorChanged()
     buttonApply->setEnabled(false);
   }
 }
+
+//=================================================================================
+// function : keyPressEvent()
+// purpose  :
+//=================================================================================
+void SMESHGUI_SymmetryDlg::keyPressEvent( QKeyEvent* e )
+{
+  QDialog::keyPressEvent( e );
+  if ( e->isAccepted() )
+    return;
+
+  if ( e->key() == Key_F1 )
+    {
+      e->accept();
+      ClickOnHelp();
+    }
+}