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
FIx for issue #360 : make switching on/off checking of transactions in Session -...
[modules/shaper.git]
/
src
/
Config
/
Config_WidgetAPI.cpp
diff --git
a/src/Config/Config_WidgetAPI.cpp
b/src/Config/Config_WidgetAPI.cpp
index 085648e9708b5f6d6f1d96bd5bbd6146aba02608..bcf543bd17e21d93e81cfa832545a3672d594d8c 100644
(file)
--- a/
src/Config/Config_WidgetAPI.cpp
+++ b/
src/Config/Config_WidgetAPI.cpp
@@
-1,3
+1,5
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
/*
* Config_WidgetAPI.cpp
*
/*
* Config_WidgetAPI.cpp
*
@@
-45,10
+47,10
@@
bool Config_WidgetAPI::toChildWidget()
{
if (myCurrentNode && hasChild(myCurrentNode)) {
myCurrentNode = myCurrentNode->children;
{
if (myCurrentNode && hasChild(myCurrentNode)) {
myCurrentNode = myCurrentNode->children;
- while (!isElementNode(myCurrentNode)) {
+ while (
myCurrentNode &&
!isElementNode(myCurrentNode)) {
myCurrentNode = myCurrentNode->next;
}
myCurrentNode = myCurrentNode->next;
}
- return
true
;
+ return
myCurrentNode != NULL
;
}
return false;
}
}
return false;
}
@@
-99,15
+101,15
@@
std::string Config_WidgetAPI::widgetId() const
std::string Config_WidgetAPI::widgetIcon() const
{
std::string Config_WidgetAPI::widgetIcon() const
{
- return getProperty(A
NY_WDG
_ICON);
+ return getProperty(A
TTR
_ICON);
}
std::string Config_WidgetAPI::widgetLabel() const
{
}
std::string Config_WidgetAPI::widgetLabel() const
{
- return getProperty(A
NY_WDG
_LABEL);
+ return getProperty(A
TTR
_LABEL);
}
std::string Config_WidgetAPI::widgetTooltip() const
{
}
std::string Config_WidgetAPI::widgetTooltip() const
{
- return getProperty(A
NY_WDG
_TOOLTIP);
+ return getProperty(A
TTR
_TOOLTIP);
}
}