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

index 46d2444591768441cbd368f798577d9a7533821b..b8954462a47086e2b200fc517793492fd24865f1 100644 (file)
@@ -134,7 +134,7 @@ MeasureGUI_ManageDimensionsDlg::MeasureGUI_ManageDimensionsDlg( GeometryGUI* the
   {
     myObjectSelector->PushButton1->click();
   }
-  isNeedRedisplay = false;
+  myIsNeedRedisplay = false;
   setHelpFileName("managing_dimensions_page.html");
 }
 
@@ -805,7 +805,7 @@ void MeasureGUI_ManageDimensionsDlg::OnFinish()
                              myEditObject->GetStudyEntry(),
                              GEOM::propertyName( GEOM::Dimensions ),
                              QVariant() );
-  if ( isNeedRedisplay ) {
+  if ( myIsNeedRedisplay ) {
     redisplay( myEditObject.get());
   }
 }
@@ -1106,8 +1106,8 @@ bool MeasureGUI_ManageDimensionsDlg::AllowedToCancelChanges()
                                             tr( "WRN_MSG_CHANGES_LOST" ),
                                             QMessageBox::Ok,
                                             QMessageBox::Cancel );
-  isNeedRedisplay = ( aResponse == QMessageBox::Ok );
-  return isNeedRedisplay;
+  myIsNeedRedisplay = ( aResponse == QMessageBox::Ok );
+  return myIsNeedRedisplay;
 }
 
 //=================================================================================
index 39e04f2544b0879f134269859346fa2555f7d2df..7fd6f0904e69d33f96f9afcaf3df00bf3a55eff5 100644 (file)
@@ -114,7 +114,7 @@ private:
 
 private:
   GEOM::GeomObjPtr                myEditObject;
-  bool                            isNeedRedisplay;
+  bool                            myIsNeedRedisplay;
 private:
   DlgRef_1Sel*                    myObjectSelector;
   MeasureGUI_1TreeWidget_4Button* myDimensionView;