]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Mantis issue 0020939: EDF 1513 GEOM: To have in the GUI the function GetSharedShapes().
authorjfa <jfa@opencascade.com>
Fri, 3 Dec 2010 11:44:23 +0000 (11:44 +0000)
committerjfa <jfa@opencascade.com>
Fri, 3 Dec 2010 11:44:23 +0000 (11:44 +0000)
src/OperationGUI/OperationGUI_GetSharedShapesDlg.cxx

index e4910dff1e3fbf421a68f0fea6e37e0a716e152f..fae221528bb529cbc7237bb7124e7d426e1fe4d4 100644 (file)
@@ -301,8 +301,7 @@ GEOM::GEOM_IOperations_ptr OperationGUI_GetSharedShapesDlg::createOperation()
 bool OperationGUI_GetSharedShapesDlg::isValid (QString& msg)
 {
   if (myListShapes.length() < 2) {
-    //msg = "Too few shapes selected";
-    msg = "MSG_SHARED_SHAPES_TOO_FEW_SHAPES";
+    msg = tr("MSG_SHARED_SHAPES_TOO_FEW_SHAPES");
     return false;
   }
   return true;