Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Meet coding standard (fix too long lines).
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_PropertyPanelSelector.cpp
diff --git
a/src/XGUI/XGUI_PropertyPanelSelector.cpp
b/src/XGUI/XGUI_PropertyPanelSelector.cpp
index 30fc0f9b2d659f853cec695b94575173423ea441..c206ab95a2c7143c7c086e93b5d3ddc3f8c59f14 100644
(file)
--- a/
src/XGUI/XGUI_PropertyPanelSelector.cpp
+++ b/
src/XGUI/XGUI_PropertyPanelSelector.cpp
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-201
7
CEA/DEN, EDF R&D
+// Copyright (C) 2014-201
9
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
//
// 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
//
// 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>
//
#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 (!isActive) { // on deactivating, store previous active widget
ModuleBase_ModelWidget* aWidget = myPanel->activeWidget();
- if (aWidget && aWidget->needToBeActiated())
+ if (aWidget && aWidget->needToBeActi
v
ated())
{
myWidgetToBeActivated = aWidget;
}
{
myWidgetToBeActivated = aWidget;
}
@@
-56,7
+55,7
@@
void XGUI_PropertyPanelSelector::setActive(const bool& isActive)
}
//********************************************************************
}
//********************************************************************
-bool XGUI_PropertyPanelSelector::needToBeActiated() const
+bool XGUI_PropertyPanelSelector::needToBeActi
v
ated() const
{
return myWidgetToBeActivated != NULL;
}
{
return myWidgetToBeActivated != NULL;
}