From: ana Date: Tue, 14 Feb 2012 15:07:50 +0000 (+0000) Subject: Generating of documentation: set the correct reference for the "Help" button of GlueE... X-Git-Tag: V6_5_0a1~63 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0c352ca06a65684d30a85df8a2b9e5f26dd9e45b;p=modules%2Fgeom.git Generating of documentation: set the correct reference for the "Help" button of GlueEdges dlg --- diff --git a/src/RepairGUI/RepairGUI_GlueDlg.cxx b/src/RepairGUI/RepairGUI_GlueDlg.cxx index 2c2efec5e..e84841a64 100644 --- a/src/RepairGUI/RepairGUI_GlueDlg.cxx +++ b/src/RepairGUI/RepairGUI_GlueDlg.cxx @@ -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()