Salome HOME
Updated copyright comment
[modules/hexablock.git] / src / HEXABLOCKGUI / MyBasicGUI_PointDlg.cxx
index 0ab5dc206d58f3cb74e34c4d5eabd064f2aa2379..5b65849dc8f4911ce88c757a4438f8c04af175d3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2009-2015  CEA/DEN, EDF R&D
+// Copyright (C) 2009-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -1065,8 +1065,11 @@ void MyBasicGUI_PointDlg::onWindowActivated(SUIT_ViewManager* vm)
     QString vmType = vm->getType();
     if ( ((vmType == SVTK_Viewer::Type()) || (vmType == VTKViewer_Viewer::Type())) &&
             !mainFrame()->RadioButton4->isChecked() &&
-            !myParamCoord->button(LENGTH_VALUE)->isChecked() )
-        mainFrame()->_vertex_le->setFocus();
+        !myParamCoord->button(LENGTH_VALUE)->isChecked() ){
+      // VSR 2020-04-06 bos #17637
+      // next line is commented out to prevent resetting focus when mouse enters the view
+      //mainFrame()->_vertex_le->setFocus();
+    }
     else if ( vmType == OCCViewer_Viewer::Type() ){
         if (mainFrame()->RadioButton1->isChecked())
             // Make the field "Vertex of the model" lose the focus