From: dmv Date: Thu, 22 Nov 2007 07:23:14 +0000 (+0000) Subject: NPAL 16561 correct corresponding names X-Git-Tag: V3_2_9rc2~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2dde161914da454c0461f726dca42e784a4b3d8a;p=modules%2Fgeom.git NPAL 16561 correct corresponding names --- diff --git a/src/GEOMContext/GEOM_msg_en.po b/src/GEOMContext/GEOM_msg_en.po index 6a3bd3ae3..d30baa067 100644 --- a/src/GEOMContext/GEOM_msg_en.po +++ b/src/GEOMContext/GEOM_msg_en.po @@ -368,7 +368,7 @@ msgstr "Reverse" #Bothway msgid "GEOM_BOTHWAY" -msgstr "Bothway" +msgstr "Both Directions" #Reverse U msgid "GEOM_REVERSE_U" diff --git a/src/GEOMGUI/GEOM_msg_en.po b/src/GEOMGUI/GEOM_msg_en.po index 7b0f7dc80..c428ab5db 100644 --- a/src/GEOMGUI/GEOM_msg_en.po +++ b/src/GEOMGUI/GEOM_msg_en.po @@ -359,7 +359,7 @@ msgstr "Reverse" #Bothway msgid "GEOM_BOTHWAY" -msgstr "Bothway" +msgstr "Both Directions" #Reverse U msgid "GEOM_REVERSE_U" @@ -2905,22 +2905,22 @@ msgid "STB_SHADING" msgstr "Shading" msgid "TOP_DISPLAY_ALL" -msgstr "Display all" +msgstr "Show all" msgid "MEN_DISPLAY_ALL" -msgstr "Display all" +msgstr "Show all" msgid "STB_DISPLAY_ALL" -msgstr "Display all" +msgstr "Show all" msgid "TOP_ERASE_ALL" -msgstr "Erase all" +msgstr "Hide all" msgid "MEN_ERASE_ALL" -msgstr "Erase all" +msgstr "Hide all" msgid "STB_ERASE_ALL" -msgstr "Erase all" +msgstr "Hide all" msgid "TOP_DISPLAY" msgstr "Show" @@ -2932,13 +2932,13 @@ msgid "STB_DISPLAY" msgstr "Show object(s)" msgid "TOP_DISPLAY_ONLY" -msgstr "Display only" +msgstr "Show only" msgid "MEN_DISPLAY_ONLY" -msgstr "Display only" +msgstr "Show only" msgid "STB_DISPLAY_ONLY" -msgstr "Display only" +msgstr "Show only" msgid "TOP_ERASE" msgstr "Hide" diff --git a/src/GroupGUI/GroupGUI_GroupDlg.cxx b/src/GroupGUI/GroupGUI_GroupDlg.cxx index ef57e4f47..09f278b25 100644 --- a/src/GroupGUI/GroupGUI_GroupDlg.cxx +++ b/src/GroupGUI/GroupGUI_GroupDlg.cxx @@ -331,6 +331,15 @@ void GroupGUI_GroupDlg::SelectionIntoArgument() aSelMgr->selectedSubOwners(aMap); if (aMap.size() == 1) aMapIndex = aMap.begin().data(); + if (aMap.size() == 0) { + Standard_Boolean aResult = Standard_False; + GEOM::GEOM_Object_var anObj = + GEOMBase::ConvertIOinGEOMObject( firstIObject(), aResult ); + if ( aResult && !anObj->_is_nil() && GEOMBase::IsShape( anObj ) ) { + localSelection( anObj, getShapeType() ); + } + + } } }