Salome HOME
bug #42: activation of point C
authorasl <asl@opencascade.com>
Tue, 17 Dec 2013 10:19:50 +0000 (10:19 +0000)
committerasl <asl@opencascade.com>
Tue, 17 Dec 2013 10:19:50 +0000 (10:19 +0000)
src/HYDROGUI/HYDROGUI_ImportImageOp.cxx

index b3232d5f191a7427ec888c16deb7409316900466..f7f0fcf452e69b7665a13fceaaec1f900e3c0a34 100644 (file)
@@ -558,6 +558,7 @@ void HYDROGUI_ImportImageOp::onCreatePreview( QImage theImage )
 
   aPanel->initializePointSelection();
   onPointSelected( false );
+  onSetCIsUsed( !aPanel->isByTwoPoints() );
 }
 
 void HYDROGUI_ImportImageOp::onActivatePointSelection( int thePointType )