diff --git a/resources/SalomeApp.xml.in b/resources/SalomeApp.xml.in
index 72e45fc0b..8d3d8a96f 100644
--- a/resources/SalomeApp.xml.in
+++ b/resources/SalomeApp.xml.in
@@ -34,7 +34,7 @@
-
+
diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx
index 2a1cb2f5a..129f67073 100644
--- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx
+++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx
@@ -805,7 +805,7 @@ void SMESHGUI_GroupDlg::setSelectionMode (int theMode)
if ( aViewWindow ) aViewWindow->SetSelectionMode(isSelectAll ? ActorSelection : EdgeSelection);
break;
case grpBallSelection:
- if ( aViewWindow ) aViewWindow->SetSelectionMode(isSelectAll ? ActorSelection : CellSelection);
+ if ( aViewWindow ) aViewWindow->SetSelectionMode(isSelectAll ? ActorSelection : BallSelection);
break;
case grpFaceSelection:
if ( aViewWindow ) aViewWindow->SetSelectionMode(isSelectAll ? ActorSelection : FaceSelection);
@@ -1759,7 +1759,7 @@ void SMESHGUI_GroupDlg::onAdd()
break;
case grpBallSelection:
aType = SMESH::BALL;
- mySelector->SetSelectionMode(CellSelection);
+ mySelector->SetSelectionMode(BallSelection);
break;
case grpEdgeSelection:
aType = SMESH::EDGE;