mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
0023090: [CEA 1510] Error at Salome launch with Japanese language
This commit is contained in:
parent
ebb5182963
commit
4850129bdb
@ -4754,7 +4754,7 @@ bool SMESHGUI::activateModule( SUIT_Study* study )
|
||||
PyErr_Print();
|
||||
}
|
||||
else {
|
||||
PyObjWrapper result = PyObject_CallMethod( pluginsmanager, (char*)"initialize", (char*)"isss",1,"smesh",tr("MEN_MESH").toStdString().c_str(),tr("SMESH_PLUGINS_OTHER").toStdString().c_str());
|
||||
PyObjWrapper result = PyObject_CallMethod( pluginsmanager, (char*)"initialize", (char*)"isss",1,"smesh",tr("MEN_MESH").toUtf8().data(),tr("SMESH_PLUGINS_OTHER").toUtf8().data());
|
||||
if ( !result )
|
||||
PyErr_Print();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user