mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
A warning message has been added for
bos #43693 EDF 31394 - Create 2D Seg
This commit is contained in:
parent
9dd9f7684c
commit
99982624e6
@ -867,7 +867,12 @@ void SMESHGUI_AddMeshElementDlg::SelectionIntoArgument()
|
||||
mySelectionMgr->selectedObjects(aList,SVTK_Viewer::Type());
|
||||
|
||||
if (aList.Extent() != 1)
|
||||
{
|
||||
if(aList.Extent() > 1)
|
||||
SUIT_MessageBox::warning( this, tr( "SMESH_WRN_WARNING" ), tr( "SEVERAL_GROUPS_IN_SELECTION" ) );
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Handle(SALOME_InteractiveObject) anIO = aList.First();
|
||||
myEntry = anIO->getEntry();
|
||||
|
@ -1433,6 +1433,11 @@ Please, select a mesh and try again</translation>
|
||||
<source>GROUP_NAME_IS_EMPTY</source>
|
||||
<translation>Name of group is not specified.
|
||||
Please enter a name of new group to be created or choose an existing one.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SEVERAL_GROUPS_IN_SELECTION</source>
|
||||
<translation>You are probably trying to select objects belonging to different groups.
|
||||
Please select only objects from the same group.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MESH_GEOM_GRP_CHOSEN</source>
|
||||
|
@ -1429,6 +1429,11 @@ Choisissez un maillage et essayez de nouveau</translation>
|
||||
<source>GROUP_NAME_IS_EMPTY</source>
|
||||
<translation>Le nom du groupe n'est pas indiqué.
|
||||
Indiquez le nom d'un nouveau groupe à créer ou choisissez un groupe existant.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SEVERAL_GROUPS_IN_SELECTION</source>
|
||||
<translation>Vous essayez probablement de sélectionner des objets appartenant à des groupes différents.
|
||||
=Veuillez ne sélectionner que des objets d un seul groupe.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MESH_GEOM_GRP_CHOSEN</source>
|
||||
|
Loading…
Reference in New Issue
Block a user