From f9002f53942de7f415bf5416fd1b8c9901812a35 Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 21 May 2007 06:13:21 +0000 Subject: [PATCH] To prevent changing of scalar bar title when there is no necessity --- src/VISU_I/VISU_ColoredPrs3d_i.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/VISU_I/VISU_ColoredPrs3d_i.cc b/src/VISU_I/VISU_ColoredPrs3d_i.cc index a3e8e67c..3bbed30d 100644 --- a/src/VISU_I/VISU_ColoredPrs3d_i.cc +++ b/src/VISU_I/VISU_ColoredPrs3d_i.cc @@ -170,7 +170,8 @@ VISU::ColoredPrs3d_i } // To update title according to the new input - SetTitle(GetCFieldName().c_str()); + if(theReInit) + SetTitle(GetCFieldName().c_str()); return anIsCreatNew; } -- 2.39.2