From 5bbfd7c15618d418107088dbd513519e8878ab8e Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 25 Nov 2005 14:40:19 +0000 Subject: [PATCH] PAL10665 - unnecessary Plot2d in CreateHypothesis dialog --- src/SMESHGUI/SMESHGUI_aParameterDlg.cxx | 1 + src/StdMeshersGUI/StdMeshersGUI_CreateHypothesisDlg.cxx | 1 + 2 files changed, 2 insertions(+) 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 ); -- 2.39.2