From 91af01dc8953f530adaec13107d9525c71905ad1 Mon Sep 17 00:00:00 2001 From: vtn Date: Tue, 11 Dec 2007 17:45:55 +0000 Subject: [PATCH] NPAL16707: Evaluations of Scalar Bar --- src/VISUGUI/VisuGUI.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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){ -- 2.39.2