]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
INT PAL 0052699: Incorrect closing of "Manage dimensions" dialog box
authorimn <imn@opencascade.com>
Tue, 21 Apr 2015 07:07:44 +0000 (10:07 +0300)
committerimn <imn@opencascade.com>
Tue, 21 Apr 2015 07:07:44 +0000 (10:07 +0300)
src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx

index 7dfda2db95897fbbd6dd1bf4d0129ff464bc664c..f238a6152ec6fc1272c5bd005c4884703b2da817 100644 (file)
@@ -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();
 }
 
 //=================================================================================