From: imn Date: Tue, 21 Apr 2015 07:07:44 +0000 (+0300) Subject: INT PAL 0052699: Incorrect closing of "Manage dimensions" dialog box X-Git-Tag: V7_6_0rc1~32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7cbe2e3bae41fbd45ae110b74703ef85505eb7b2;p=modules%2Fgeom.git INT PAL 0052699: Incorrect closing of "Manage dimensions" dialog box --- diff --git a/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx b/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx index 7dfda2db9..f238a6152 100644 --- a/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx +++ b/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx @@ -805,8 +805,6 @@ void MeasureGUI_ManageDimensionsDlg::OnFinish() myEditObject->GetStudyEntry(), GEOM::propertyName( GEOM::Dimensions ), QVariant() ); - - redisplay( myEditObject.get() ); } //================================================================================= @@ -889,8 +887,8 @@ void MeasureGUI_ManageDimensionsDlg::SetEditObject( const GEOM::GeomObjPtr& theO if ( myEditObject.isNull() ) { + myDimensionView->TreeWidget->clear(); myDimensionView->setEnabled( false ); - return; } @@ -955,8 +953,6 @@ void MeasureGUI_ManageDimensionsDlg::RestoreState() myEditObject->GetStudyEntry(), GEOM::propertyName( GEOM::Dimensions ), QVariant() ); - - RedisplayObject(); } //=================================================================================