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 (parent:
7a3ecab
)
Implement unicode support in SALOME: first attempt
author
rnv
<rnv@opencascade.com>
Fri, 19 Jan 2018 13:02:22 +0000
(16:02 +0300)
committer
rnv
<rnv@opencascade.com>
Fri, 19 Jan 2018 13:02:22 +0000
(16:02 +0300)
src/SMESHGUI/SMESHGUI.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI.cxx
b/src/SMESHGUI/SMESHGUI.cxx
index 2e698c6ded5431d7b3d2393f6b807129692e2667..797674b12611f1e62001a28a335a316df281f4c4 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI.cxx
+++ b/
src/SMESHGUI/SMESHGUI.cxx
@@
-7057,7
+7057,7
@@
bool SMESHGUI::renameObject( const QString& entry, const QString& name) {
aType == SMESH::SUBMESH_EDGE || aType == SMESH::SUBMESH_VERTEX ||
aType == SMESH::HYPOTHESIS || aType == SMESH::ALGORITHM) {
if ( !name.isEmpty() ) {
aType == SMESH::SUBMESH_EDGE || aType == SMESH::SUBMESH_VERTEX ||
aType == SMESH::HYPOTHESIS || aType == SMESH::ALGORITHM) {
if ( !name.isEmpty() ) {
- SMESHGUI::GetSMESHGen()->SetName(obj->GetIOR().c_str(), qPrintable(name) );
+ SMESHGUI::GetSMESHGen()->SetName(obj->GetIOR().c_str(), q
Utf8
Printable(name) );
// update name of group object and its actor
Handle(SALOME_InteractiveObject) IObject =
// update name of group object and its actor
Handle(SALOME_InteractiveObject) IObject =
@@
-7067,7
+7067,7
@@
bool SMESHGUI::renameObject( const QString& entry, const QString& name) {
if( !aGroupObject->_is_nil() ) {
aGroupObject->SetName( qPrintable(name) );
if ( SMESH_Actor *anActor = SMESH::FindActorByEntry( qPrintable(entry) ) )
if( !aGroupObject->_is_nil() ) {
aGroupObject->SetName( qPrintable(name) );
if ( SMESH_Actor *anActor = SMESH::FindActorByEntry( qPrintable(entry) ) )
- anActor->setName( qPrintable(name) );
+ anActor->setName( q
Utf8
Printable(name) );
}
return true;
}
}
return true;
}