Salome HOME
Fix for the issue #19726 : Placement failed because of wrong name in face selection.
[modules/shaper.git] / src / XGUI / XGUI_PropertyPanelSelector.cpp
index 8e797ebc58d7d2cbe0c0056f27528d5491fccc40..c5aefe89493e74fc6b5878af5cf9a31c1a2f21d3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2020  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
@@ -46,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;
     }
@@ -55,7 +55,7 @@ void XGUI_PropertyPanelSelector::setActive(const bool& isActive)
 }
 
 //********************************************************************
-bool XGUI_PropertyPanelSelector::needToBeActiated() const
+bool XGUI_PropertyPanelSelector::needToBeActivated() const
 {
   return myWidgetToBeActivated != NULL;
 }