mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-28 06:10:34 +05:00
Fix signals in MeasureGUI dialog
This commit is contained in:
parent
c11f35e20d
commit
b8db699e10
@ -228,9 +228,9 @@ void MeasureGUI_ManageDimensionsDlg::StartSelection( const Selection theSelectio
|
||||
myDimensionInteractor->Enable();
|
||||
|
||||
connect( myDimensionInteractor,
|
||||
SIGNAL( InteractionFinished( Handle(AIS_InteractiveObject) ) ),
|
||||
SIGNAL( InteractionFinished( Handle_AIS_InteractiveObject ) ),
|
||||
this,
|
||||
SLOT( OnInteractionFinished( Handle(AIS_InteractiveObject) ) ) );
|
||||
SLOT( OnInteractionFinished( Handle_AIS_InteractiveObject ) ) );
|
||||
|
||||
anAISContext->UpdateCurrentViewer();
|
||||
}
|
||||
@ -290,9 +290,9 @@ void MeasureGUI_ManageDimensionsDlg::StopSelection()
|
||||
myDimensionInteractor->Disable();
|
||||
|
||||
disconnect( myDimensionInteractor,
|
||||
SIGNAL( InteractionFinished( Handle(AIS_InteractiveObject) ) ),
|
||||
SIGNAL( InteractionFinished( Handle_AIS_InteractiveObject ) ),
|
||||
this,
|
||||
SLOT( OnInteractionFinished( Handle(AIS_InteractiveObject) ) ) );
|
||||
SLOT( OnInteractionFinished( Handle_AIS_InteractiveObject ) ) );
|
||||
}
|
||||
|
||||
myCurrentSelection = Selection_None;
|
||||
@ -628,7 +628,7 @@ void MeasureGUI_ManageDimensionsDlg::OnHideAll()
|
||||
// function : OnInteractionFinished
|
||||
// purpose :
|
||||
//=================================================================================
|
||||
void MeasureGUI_ManageDimensionsDlg::OnInteractionFinished( Handle(AIS_InteractiveObject) theIO )
|
||||
void MeasureGUI_ManageDimensionsDlg::OnInteractionFinished( Handle_AIS_InteractiveObject theIO )
|
||||
{
|
||||
// update property data
|
||||
SalomeApp_Application* anApp = myGeomGUI->getApp();
|
||||
|
Loading…
Reference in New Issue
Block a user