From: asl Date: Fri, 25 Nov 2005 14:40:19 +0000 (+0000) Subject: PAL10665 - unnecessary Plot2d in CreateHypothesis dialog X-Git-Tag: BR_3_1_0_deb~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5bbfd7c15618d418107088dbd513519e8878ab8e;p=modules%2Fsmesh.git PAL10665 - unnecessary Plot2d in CreateHypothesis dialog --- diff --git a/src/SMESHGUI/SMESHGUI_aParameterDlg.cxx b/src/SMESHGUI/SMESHGUI_aParameterDlg.cxx index b9c9f1d3b..211b4f0ec 100644 --- a/src/SMESHGUI/SMESHGUI_aParameterDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_aParameterDlg.cxx @@ -119,6 +119,7 @@ void SMESHGUI_aParameterDlg::init() } myPreview = new SMESHGUI_FunctionPreview( GroupC1 ); + myPreview->hide(); GroupC1Layout->addWidget( myPreview, row, 1 ); paramIt = myParamList.begin(); diff --git a/src/StdMeshersGUI/StdMeshersGUI_CreateHypothesisDlg.cxx b/src/StdMeshersGUI/StdMeshersGUI_CreateHypothesisDlg.cxx index b43492f5d..d93e8c2fe 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_CreateHypothesisDlg.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_CreateHypothesisDlg.cxx @@ -163,6 +163,7 @@ void StdMeshersGUI_CreateHypothesisDlg::CreateDlgLayout(const QString & theCapti } } myPreview = new SMESHGUI_FunctionPreview( GroupC1 ); + myPreview->hide(); GroupC1Layout->addWidget( myPreview, row, 1 ); StdMeshersGUI_CreateHypothesisDlgLayout->addWidget( GroupC1, 1 );