Fix signals in MeasureGUI dialog

This commit is contained in:
apl 2016-10-19 15:55:20 +03:00
parent c11f35e20d
commit b8db699e10

View File

@ -228,9 +228,9 @@ void MeasureGUI_ManageDimensionsDlg::StartSelection( const Selection theSelectio
myDimensionInteractor->Enable(); myDimensionInteractor->Enable();
connect( myDimensionInteractor, connect( myDimensionInteractor,
SIGNAL( InteractionFinished( Handle(AIS_InteractiveObject) ) ), SIGNAL( InteractionFinished( Handle_AIS_InteractiveObject ) ),
this, this,
SLOT( OnInteractionFinished( Handle(AIS_InteractiveObject) ) ) ); SLOT( OnInteractionFinished( Handle_AIS_InteractiveObject ) ) );
anAISContext->UpdateCurrentViewer(); anAISContext->UpdateCurrentViewer();
} }
@ -290,9 +290,9 @@ void MeasureGUI_ManageDimensionsDlg::StopSelection()
myDimensionInteractor->Disable(); myDimensionInteractor->Disable();
disconnect( myDimensionInteractor, disconnect( myDimensionInteractor,
SIGNAL( InteractionFinished( Handle(AIS_InteractiveObject) ) ), SIGNAL( InteractionFinished( Handle_AIS_InteractiveObject ) ),
this, this,
SLOT( OnInteractionFinished( Handle(AIS_InteractiveObject) ) ) ); SLOT( OnInteractionFinished( Handle_AIS_InteractiveObject ) ) );
} }
myCurrentSelection = Selection_None; myCurrentSelection = Selection_None;
@ -628,7 +628,7 @@ void MeasureGUI_ManageDimensionsDlg::OnHideAll()
// function : OnInteractionFinished // function : OnInteractionFinished
// purpose : // purpose :
//================================================================================= //=================================================================================
void MeasureGUI_ManageDimensionsDlg::OnInteractionFinished( Handle(AIS_InteractiveObject) theIO ) void MeasureGUI_ManageDimensionsDlg::OnInteractionFinished( Handle_AIS_InteractiveObject theIO )
{ {
// update property data // update property data
SalomeApp_Application* anApp = myGeomGUI->getApp(); SalomeApp_Application* anApp = myGeomGUI->getApp();