Salome HOME
Merge remote-tracking branch 'origin/master' into V9_dev
[plugins/hexoticplugin.git] / src / GUI / HexoticPluginGUI.cxx
index 2af824614e8c8231d9f12ea4c91e3735c7044861..3aef28164eedd952c3310e422ce9d621f462177d 100755 (executable)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -35,8 +35,9 @@ extern "C"
   SMESHGUI_GenericHypothesisCreator* GetHypothesisCreator( const QString& aHypType )
   {
     SMESHGUI_GenericHypothesisCreator* aCreator = NULL;
-    if( aHypType=="Hexotic_Parameters" )
-      aCreator =  new HexoticPluginGUI_HypothesisCreator( aHypType );
+    if( aHypType=="Hexotic_Parameters" ||
+        aHypType=="MG-Hexa Parameters")
+      aCreator =  new HexoticPluginGUI_HypothesisCreator( "MG-Hexa Parameters" );
     return aCreator;
   }
 }