Salome HOME
Revert "Synchronize adm files"
[modules/gui.git] / src / OCCViewer / OCCViewer_ClipPlaneInteractor.cxx
index 9275eb7d3e6620feed2fd5ed378e81ed87e9f2d5..bc42157645e85ed219d0a8ea8892fa07a1ff1a83 100644 (file)
@@ -520,7 +520,7 @@ bool OCCViewer_ClipPlaneInteractor::mousePress( QMouseEvent* theEvent,
   myIsClickable = isClickable( aPlane );
 
   // process mouse click on the object
-  if ( myIsClickable );
+  if ( myIsClickable )
   {
     myViewer->getAISContext()->SetSelected( aPlane );
     emit planeClicked( aPlane );