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
Open transaction before setCurrentFeatuire if it is not opened
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_PageBase.cpp
diff --git
a/src/ModuleBase/ModuleBase_PageBase.cpp
b/src/ModuleBase/ModuleBase_PageBase.cpp
index dac665edd3fbb0fd089e2c90e43ca7c14156d3b2..027150f22426c45f4538ea262119d8399c3abe91 100644
(file)
--- a/
src/ModuleBase/ModuleBase_PageBase.cpp
+++ b/
src/ModuleBase/ModuleBase_PageBase.cpp
@@
-52,12
+52,12
@@
void ModuleBase_PageBase::clearPage()
}
}
-
void
ModuleBase_PageBase::takeFocus()
+
bool
ModuleBase_PageBase::takeFocus()
{
if(myWidgetList.isEmpty())
{
if(myWidgetList.isEmpty())
- return;
+ return
false
;
- myWidgetList.first()->focusTo();
+
return
myWidgetList.first()->focusTo();
}
QList<ModuleBase_ModelWidget*> ModuleBase_PageBase::modelWidgets()
}
QList<ModuleBase_ModelWidget*> ModuleBase_PageBase::modelWidgets()