mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
activateModule/deactivateModule functions are made "bool".
This commit is contained in:
parent
a2f0f70d59
commit
65482a36f6
@ -3009,24 +3009,25 @@ void SMESHGUI::initialize( CAM_Application* app )
|
||||
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 );
|
||||
|
||||
return res;
|
||||
//SetSettings( desktop() );
|
||||
}
|
||||
|
||||
void SMESHGUI::deactivateModule( SUIT_Study* study )
|
||||
bool SMESHGUI::deactivateModule( SUIT_Study* study )
|
||||
{
|
||||
setMenuShown( false );
|
||||
setToolShown( false );
|
||||
|
||||
EmitSignalCloseAllDialogs();
|
||||
|
||||
SalomeApp_Module::deactivateModule( study );
|
||||
return SalomeApp_Module::deactivateModule( study );
|
||||
}
|
||||
|
||||
void SMESHGUI::OnGUIEvent()
|
||||
|
@ -97,8 +97,8 @@ public :
|
||||
void EmitSignalCloseAllDialogs() ;
|
||||
|
||||
public slots:
|
||||
virtual void deactivateModule( SUIT_Study* );
|
||||
virtual void activateModule( SUIT_Study* );
|
||||
virtual bool deactivateModule( SUIT_Study* );
|
||||
virtual bool activateModule( SUIT_Study* );
|
||||
|
||||
private slots:
|
||||
void OnGUIEvent();
|
||||
|
Loading…
Reference in New Issue
Block a user