diff --git a/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx b/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx index 627d34e17..35b8a567d 100644 --- a/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx +++ b/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx @@ -173,8 +173,8 @@ namespace SMESH bool ok = reader.parse(source); file.close(); if (ok) { - myHypothesesMap = QMap( aXmlHandler->myHypothesesMap ); - myAlgorithmsMap = QMap( aXmlHandler->myAlgorithmsMap ); + myHypothesesMap.unite( QMap( aXmlHandler->myHypothesesMap ) ); + myAlgorithmsMap.unite( QMap( aXmlHandler->myAlgorithmsMap ) ); myListOfHypothesesSets.splice( myListOfHypothesesSets.begin(), aXmlHandler->myListOfHypothesesSets ); }