X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fgenericgui%2FEditionComponent.cxx;h=8dca81ef96d74b6ce23248b278f2594a5c74f0d8;hb=ebc32b24303c7f20537c707c77d23e7daa8a20db;hp=33d4320a3c5dbe1cec3b692662aa87d88cf75c45;hpb=c81be9b5e74b26e207bd6efd0ccf68418ac536a3;p=modules%2Fyacs.git diff --git a/src/genericgui/EditionComponent.cxx b/src/genericgui/EditionComponent.cxx index 33d4320a3..8dca81ef9 100644 --- a/src/genericgui/EditionComponent.cxx +++ b/src/genericgui/EditionComponent.cxx @@ -1,9 +1,9 @@ -// Copyright (C) 2006-2012 CEA/DEN, EDF R&D +// Copyright (C) 2006-2022 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); }