INT PAL 0052699: Incorrect closing of "Manage dimensions" dialog box (edited)

This commit is contained in:
imn 2015-04-21 16:00:30 +03:00
parent e786915015
commit 48589cb055
2 changed files with 5 additions and 5 deletions

View 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;
}
//=================================================================================

View File

@ -114,7 +114,7 @@ private:
private:
GEOM::GeomObjPtr myEditObject;
bool isNeedRedisplay;
bool myIsNeedRedisplay;
private:
DlgRef_1Sel* myObjectSelector;
MeasureGUI_1TreeWidget_4Button* myDimensionView;