]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESHGUI/SMESHGUI_SewingDlg.cxx
Salome HOME
Fix for IPAL12387.
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_SewingDlg.cxx
index 67f2e0c8da6ac989c340fe746b3ad51162edd95c..957a5c44997b58ddd6e311f77c0706223e3823a8 100644 (file)
@@ -950,3 +950,20 @@ bool SMESHGUI_SewingDlg::IsValid()
 {
   return (myOk1 && myOk2 && myOk3 && myOk4 && myOk5 && myOk6);
 }
+
+//=================================================================================
+// function : keyPressEvent()
+// purpose  :
+//=================================================================================
+void SMESHGUI_SewingDlg::keyPressEvent( QKeyEvent* e )
+{
+  QDialog::keyPressEvent( e );
+  if ( e->isAccepted() )
+    return;
+
+  if ( e->key() == Key_F1 )
+    {
+      e->accept();
+      ClickOnHelp();
+    }
+}