Salome HOME
bos #18326 [CEA] YACS operator< YACS/src/genericgui/LinkAStar.hxx
[modules/yacs.git] / src / genericgui / EditionComponent.cxx
index 33d4320a3c5dbe1cec3b692662aa87d88cf75c45..1b0589804e4a54a606548837553e1c6c31b06e60 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2006-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2019  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
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -104,7 +104,7 @@ void EditionComponent::changeContainer(int index)
       return;
     }
   Container *newContainer =proc->containerMap[contName];
-  SubjectContainer *scnt = GuiContext::getCurrent()->_mapOfSubjectContainer[newContainer];
+  SubjectContainerBase *scnt = GuiContext::getCurrent()->_mapOfSubjectContainer[newContainer];
   scompo->associateToContainer(scnt);
   scompo->select(true);
 }