Generating of documentation: set the correct reference for the "Help" button of GlueEdges dlg

This commit is contained in:
ana 2012-02-14 15:07:50 +00:00
parent b37488eb20
commit 0c352ca06a

View 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()