]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix on [Bug IPAL15839] Duplicates of the group names appear in the "Scalar Map on...
authorapo <apo@opencascade.com>
Fri, 11 May 2007 07:26:28 +0000 (07:26 +0000)
committerapo <apo@opencascade.com>
Fri, 11 May 2007 07:26:28 +0000 (07:26 +0000)
src/VISUGUI/VisuGUI_ScalarBarDlg.cxx

index 136d539962dc6ae1608a93a3cde397e7c73b4000..9bed72665f5663acb9929a8a0a9c96530ffa5ae0 100644 (file)
@@ -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; i<aGroupNames->length(); i++)