Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6e68fcd
)
Fix strange string like "1 , 1 , 1 " instead of nb of selected geom objects at mesh...
author
eap
<eap@opencascade.com>
Wed, 19 Feb 2014 13:15:16 +0000
(17:15 +0400)
committer
eap
<eap@opencascade.com>
Wed, 19 Feb 2014 13:15:16 +0000
(17:15 +0400)
src/SMESHGUI/SMESHGUI_SelectionOp.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_SelectionOp.cxx
b/src/SMESHGUI/SMESHGUI_SelectionOp.cxx
index ce349a055b67c6833ce83d28e6694e2c6e38d076..a134a58f247be98f3fd5c9620962d68f06f50629 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_SelectionOp.cxx
+++ b/
src/SMESHGUI/SMESHGUI_SelectionOp.cxx
@@
-318,7
+318,9
@@
int SMESHGUI_SelectionOp::typeById( const QString& str, const EntityType objtype
GEOM::GEOM_Object_var obj = GEOM::GEOM_Object::_narrow(
dynamic_cast<SALOMEDS_SObject*>( sobj.get() )->GetObject() );
if( !CORBA::is_nil( obj ) )
- res = SMESHGUI_Dialog::prefix( "GEOM" ) + obj->GetType();
+ // as decoding of type id is not realized in LightApp_Dialog,
+ //make all GEOM objects have same type id
+ res = SMESHGUI_Dialog::prefix( "GEOM" );// + obj->GetType();
}
}
else