From: vtn Date: Tue, 11 Dec 2007 17:45:55 +0000 (+0000) Subject: NPAL16707: Evaluations of Scalar Bar X-Git-Tag: V4_1_0rc3~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=91af01dc8953f530adaec13107d9525c71905ad1;p=modules%2Fvisu.git NPAL16707: Evaluations of Scalar Bar --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index e682621e..df389e78 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -3437,7 +3437,7 @@ void VisuGUI::preferencesChanged( const QString& a, const QString& b) aResourceMgr->setValue("VISU", "scalar_bar_horizontal_y", sbY1); aResourceMgr->setValue("VISU", "scalar_bar_horizontal_height",sbH); } - } else if(b == QString("scalar_bar_labels_format")) { + } else if(b == QString("scalar_bar_label_format")) { QString dVal; dVal.sprintf(aResourceMgr->stringValue("VISU", "scalar_bar_label_format",dVal), 1.1); if(dVal.toDouble() == 0.) { @@ -3445,7 +3445,7 @@ void VisuGUI::preferencesChanged( const QString& a, const QString& b) aWarning += dVal.latin1(); aWarning += "\n"; dVal="%-#6.3g"; - aResourceMgr->setValue("VISU", "scalar_bar_labels_format", dVal); + aResourceMgr->setValue("VISU", "scalar_bar_label_format", dVal); } } if (aWarning.size() != 0){