From 7cbe2e3bae41fbd45ae110b74703ef85505eb7b2 Mon Sep 17 00:00:00 2001 From: imn Date: Tue, 21 Apr 2015 10:07:44 +0300 Subject: [PATCH] INT PAL 0052699: Incorrect closing of "Manage dimensions" dialog box --- src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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(); } //=================================================================================