Mantis issue 0020939: EDF 1513 GEOM: To have in the GUI the function GetSharedShapes().

This commit is contained in:
jfa 2010-12-03 11:44:23 +00:00
parent fc6914d846
commit 9d4133b184

View File

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