From: apo Date: Fri, 11 May 2007 07:26:28 +0000 (+0000) Subject: Fix on [Bug IPAL15839] Duplicates of the group names appear in the "Scalar Map on... X-Git-Tag: mergeto_BR_Dev_For_4_0_22May07~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6c22716fdb9f2e01464a75022238072f06395693;p=modules%2Fvisu.git Fix on [Bug IPAL15839] Duplicates of the group names appear in the "Scalar Map on Deformed Shape" dlg. --- 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++)