mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 15:00:37 +05:00
Format of preferences messages has been changed ('/' is used as separator instead of ':')
This commit is contained in:
parent
b66badd782
commit
b0b26bc35f
@ -821,13 +821,13 @@ void SMESH_Gen_i::SetOption(const char* name, const char* value)
|
|||||||
if ( strcmp(name, "historical_python_dump") == 0 )
|
if ( strcmp(name, "historical_python_dump") == 0 )
|
||||||
{
|
{
|
||||||
myIsHistoricalPythonDump = ( value[0] == '1' || toupper(value[0]) == 'T' ); // 1 || true
|
myIsHistoricalPythonDump = ( value[0] == '1' || toupper(value[0]) == 'T' ); // 1 || true
|
||||||
msgToGUI = "preferences:SMESH:historical_python_dump:";
|
msgToGUI = "preferences/SMESH/historical_python_dump/";
|
||||||
msgToGUI += myIsHistoricalPythonDump ? "true" : "false";
|
msgToGUI += myIsHistoricalPythonDump ? "true" : "false";
|
||||||
}
|
}
|
||||||
else if ( strcmp(name, "forget_mesh_on_hyp_modif") == 0 )
|
else if ( strcmp(name, "forget_mesh_on_hyp_modif") == 0 )
|
||||||
{
|
{
|
||||||
myToForgetMeshDataOnHypModif = ( value[0] == '1' || toupper(value[0]) == 'T' ); // 1 || true
|
myToForgetMeshDataOnHypModif = ( value[0] == '1' || toupper(value[0]) == 'T' ); // 1 || true
|
||||||
msgToGUI = "preferences:SMESH:forget_mesh_on_hyp_modif:";
|
msgToGUI = "preferences/SMESH/forget_mesh_on_hyp_modif/";
|
||||||
msgToGUI += myToForgetMeshDataOnHypModif ? "true" : "false";
|
msgToGUI += myToForgetMeshDataOnHypModif ? "true" : "false";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user