From 6c22716fdb9f2e01464a75022238072f06395693 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 11 May 2007 07:26:28 +0000 Subject: [PATCH] Fix on [Bug IPAL15839] Duplicates of the group names appear in the "Scalar Map on Deformed Shape" dlg. --- src/VISUGUI/VisuGUI_ScalarBarDlg.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/VISUGUI/VisuGUI_ScalarBarDlg.cxx b/src/VISUGUI/VisuGUI_ScalarBarDlg.cxx index 136d5399..9bed7266 100644 --- a/src/VISUGUI/VisuGUI_ScalarBarDlg.cxx +++ b/src/VISUGUI/VisuGUI_ScalarBarDlg.cxx @@ -626,6 +626,7 @@ void VisuGUI_ScalarBarPane::initFromPrsObject(VISU::PrsMerger_i* thePrs) { } else { + mySelectedGroups->clear(); // Get names of the groups string_array_var aGroupNames = thePrs->getGroupNames(); for(int i=0; ilength(); i++) -- 2.39.2