]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Generating of documentation: set the correct reference for the "Help" button of GlueE...
authorana <ana@opencascade.com>
Tue, 14 Feb 2012 15:07:50 +0000 (15:07 +0000)
committerana <ana@opencascade.com>
Tue, 14 Feb 2012 15:07:50 +0000 (15:07 +0000)
src/RepairGUI/RepairGUI_GlueDlg.cxx

index 2c2efec5e07ffb7b34aa002e844f1070d4b0ea9c..e84841a64c8ce4ba2d40c0958324e2f89d51d6ca 100644 (file)
@@ -151,7 +151,20 @@ RepairGUI_GlueDlg::RepairGUI_GlueDlg(GeometryGUI* theGeometryGUI, QWidget* paren
 
   /***************************************************************/
 
-  setHelpFileName("glue_faces_operation_page.html");
+  QString aHelpFileName; 
+  switch ( myGlueMode ) {
+    case TopAbs_EDGE:
+      {
+        aHelpFileName = "glue_edges_operation_page.html";
+        break;
+      }
+    case TopAbs_FACE:
+      {
+        aHelpFileName = "glue_faces_operation_page.html";
+        break;
+      }
+  }
+  setHelpFileName(aHelpFileName);
 
   // Disable second way of gluing if OCC viewer is not active one
   if (myGeomGUI->getApp()->desktop()->activeWindow()->getViewManager()->getType()