Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
activateModule/deactivateModule functions are made "bool".
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI.cxx
diff --git
a/src/SMESHGUI/SMESHGUI.cxx
b/src/SMESHGUI/SMESHGUI.cxx
index 0788a118f6486a9257a45bce7ebf4554d92b4dce..4b63550e06c14f6ee606e05b0487da2a5f23f0fd 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI.cxx
+++ b/
src/SMESHGUI/SMESHGUI.cxx
@@
-3009,24
+3009,25
@@
void SMESHGUI::initialize( CAM_Application* app )
popupMgr()->insert( separator(), -1, -1 );
}
popupMgr()->insert( separator(), -1, -1 );
}
-
void
SMESHGUI::activateModule( SUIT_Study* study )
+
bool
SMESHGUI::activateModule( SUIT_Study* study )
{
{
- SalomeApp_Module::activateModule( study );
+
bool res =
SalomeApp_Module::activateModule( study );
setMenuShown( true );
setToolShown( true );
setMenuShown( true );
setToolShown( true );
+ return res;
//SetSettings( desktop() );
}
//SetSettings( desktop() );
}
-
void
SMESHGUI::deactivateModule( SUIT_Study* study )
+
bool
SMESHGUI::deactivateModule( SUIT_Study* study )
{
setMenuShown( false );
setToolShown( false );
EmitSignalCloseAllDialogs();
{
setMenuShown( false );
setToolShown( false );
EmitSignalCloseAllDialogs();
- SalomeApp_Module::deactivateModule( study );
+
return
SalomeApp_Module::deactivateModule( study );
}
void SMESHGUI::OnGUIEvent()
}
void SMESHGUI::OnGUIEvent()