Salome HOME
Implementation of the issue 21276: EDF 1857 SMESH: Order of algorithms in the combobox
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_XmlHandler.cxx
index b4cff1e938235958190276f72c50e984a00a401c..6c84814337e1c059d94bb09d59f4da2bebad0282 100644 (file)
@@ -165,11 +165,11 @@ bool SMESHGUI_XmlHandler::startElement (const QString&, const QString&,
 
       if (qName == "algorithm")
       {
-        myAlgorithmsMap[aHypAlType] = aHypData;
+        myAlgorithmsMap.insert(aHypAlType,aHypData);
       }
       else
       {
-        myHypothesesMap[aHypAlType] = aHypData;
+        myHypothesesMap.insert(aHypAlType,aHypData);
       }
     }
   }