Salome HOME
A new event Visual Attributes Changed is defined for performance sake.
[modules/shaper.git] / src / XGUI / XGUI_PropertyPanelSelector.cpp
index 30fc0f9b2d659f853cec695b94575173423ea441..c206ab95a2c7143c7c086e93b5d3ddc3f8c59f14 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+// Copyright (C) 2014-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
 //
 // 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<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #include <XGUI_PropertyPanelSelector.h>
@@ -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;
 }