From 48589cb055fe5ae7f639993f40fa0fe24a8a1fc4 Mon Sep 17 00:00:00 2001 From: imn Date: Tue, 21 Apr 2015 16:00:30 +0300 Subject: [PATCH] INT PAL 0052699: Incorrect closing of "Manage dimensions" dialog box (edited) --- src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx | 8 ++++---- src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx b/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx index 46d244459..b8954462a 100644 --- a/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx +++ b/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx @@ -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; } //================================================================================= diff --git a/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.h b/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.h index 39e04f254..7fd6f0904 100644 --- a/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.h +++ b/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.h @@ -114,7 +114,7 @@ private: private: GEOM::GeomObjPtr myEditObject; - bool isNeedRedisplay; + bool myIsNeedRedisplay; private: DlgRef_1Sel* myObjectSelector; MeasureGUI_1TreeWidget_4Button* myDimensionView; -- 2.39.2