X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_PrecisionDlg.cxx;h=b589e15d33be3b8ccaf626db96474daab8bf45e1;hp=62a15b8f4372534b273255fe54a6b6817f69160b;hb=2387bfa403855b82751bf9f122295b1fc6923a18;hpb=a2f0f70d5912ea83c868916f06eaefb58a32ec2e diff --git a/src/SMESHGUI/SMESHGUI_PrecisionDlg.cxx b/src/SMESHGUI/SMESHGUI_PrecisionDlg.cxx index 62a15b8f4..b589e15d3 100755 --- a/src/SMESHGUI/SMESHGUI_PrecisionDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_PrecisionDlg.cxx @@ -133,8 +133,8 @@ void SMESHGUI_PrecisionDlg::Init() bool isOk = false; int aVal = DEFAULT_VAL; SUIT_ResourceMgr* mgr = SMESH::GetResourceMgr( mySMESHGUI ); - if (mgr && mgr->hasValue("SMESH", "ControlsPrecision")) { - QString aStr = mgr->stringValue("SMESH", "ControlsPrecision"); + if (mgr && mgr->hasValue("SMESH", "controls_precision")) { + QString aStr = mgr->stringValue("SMESH", "controls_precision"); aVal = aStr.toInt(&isOk); } @@ -156,14 +156,14 @@ void SMESHGUI_PrecisionDlg::onOk() SUIT_ResourceMgr* mgr = SMESH::GetResourceMgr( mySMESHGUI ); if (myNotUseChk->isChecked()) { if (mgr) { - mgr->remove("SMESH", "ControlsPrecision"); + mgr->remove("SMESH", "controls_precision"); } SMESH::SetControlsPrecision(-1); } else { mySpinBox->clearFocus(); int aVal = mySpinBox->value(); if (mgr) { - mgr->setValue("SMESH", "ControlsPrecision", QString("%1").arg(aVal)); + mgr->setValue("SMESH", "controls_precision", QString("%1").arg(aVal)); } SMESH::SetControlsPrecision(aVal); }