X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_PropertyPanelSelector.cpp;h=a90671bc933d3ecbc3246cecac5bea69f9910567;hb=4de8d53fef7532b6843d79c970f55ad46f98da62;hp=30fc0f9b2d659f853cec695b94575173423ea441;hpb=88c4a5c85a8d2cfab598c69882b9ceae15507123;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_PropertyPanelSelector.cpp b/src/XGUI/XGUI_PropertyPanelSelector.cpp index 30fc0f9b2..a90671bc9 100644 --- a/src/XGUI/XGUI_PropertyPanelSelector.cpp +++ b/src/XGUI/XGUI_PropertyPanelSelector.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2024 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -12,10 +12,9 @@ // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #include @@ -47,7 +46,7 @@ void XGUI_PropertyPanelSelector::setActive(const bool& isActive) if (!isActive) { // on deactivating, store previous active widget ModuleBase_ModelWidget* aWidget = myPanel->activeWidget(); - if (aWidget && aWidget->needToBeActiated()) + if (aWidget && aWidget->needToBeActivated()) { myWidgetToBeActivated = aWidget; } @@ -56,7 +55,7 @@ void XGUI_PropertyPanelSelector::setActive(const bool& isActive) } //******************************************************************** -bool XGUI_PropertyPanelSelector::needToBeActiated() const +bool XGUI_PropertyPanelSelector::needToBeActivated() const { return myWidgetToBeActivated != NULL; }