From: dmv Date: Mon, 8 Jun 2009 08:35:33 +0000 (+0000) Subject: IPAL21170 TC5.1.2: help problems for next "Hypothesis Construction" dialogs X-Git-Tag: V5_1_2rc2~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d9aa9689e89773de4cfc0b5d2783b08545674918;p=modules%2Fsmesh.git IPAL21170 TC5.1.2: help problems for next "Hypothesis Construction" dialogs --- diff --git a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx index e636ea8d6..a74c754b5 100644 --- a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx +++ b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx @@ -492,10 +492,10 @@ void SMESHGUI_GenericHypothesisCreator::onReject() QString SMESHGUI_GenericHypothesisCreator::helpPage() const { QString aHypType = hypType(); - QString aHelpFileName; + QString aHelpFileName = ""; if ( aHypType == "LocalLength" ) aHelpFileName = "a1d_meshing_hypo_page.html#average_length_anchor"; - if ( aHypType == "MaxLength" ) + else if ( aHypType == "MaxLength" ) aHelpFileName = "a1d_meshing_hypo_page.html#max_length_anchor"; else if ( aHypType == "Arithmetic1D") aHelpFileName = "a1d_meshing_hypo_page.html#arithmetic_1d_anchor"; @@ -522,9 +522,8 @@ QString SMESHGUI_GenericHypothesisCreator::helpPage() const else if ( aHypType == "LayerDistribution") aHelpFileName = "radial_prism_algo_page.html"; else if ( aHypType == "SegmentLengthAroundVertex") - aHelpFileName = "segments_around_vertex_algo.html"; - else - aHelpFileName = ""; + aHelpFileName = "segments_around_vertex_algo_page.html"; + return aHelpFileName; }