mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 19:10:33 +05:00
PAL9881 - preferences are not taken into account in SMESH
This commit is contained in:
parent
c06234a40f
commit
8e26c31d5f
@ -2782,8 +2782,8 @@ void SMESHGUI::initialize( CAM_Application* app )
|
|||||||
|
|
||||||
popupMgr()->insert( separator(), -1, -1 );
|
popupMgr()->insert( separator(), -1, -1 );
|
||||||
|
|
||||||
connect( application(), SIGNAL( viewManagerAdded( SUIT_ViewManager* ) ),
|
connect( application(), SIGNAL( viewManagerActivated( SUIT_ViewManager* ) ),
|
||||||
this, SLOT( onViewManagerAdded( SUIT_ViewManager* ) ) );
|
this, SLOT( onViewManagerActivated( SUIT_ViewManager* ) ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SMESHGUI::activateModule( SUIT_Study* study )
|
bool SMESHGUI::activateModule( SUIT_Study* study )
|
||||||
@ -2851,7 +2851,7 @@ void SMESHGUI::viewManagers( QStringList& list ) const
|
|||||||
list.append( SVTK_Viewer::Type() );
|
list.append( SVTK_Viewer::Type() );
|
||||||
}
|
}
|
||||||
|
|
||||||
void SMESHGUI::onViewManagerAdded( SUIT_ViewManager* mgr )
|
void SMESHGUI::onViewManagerActivated( SUIT_ViewManager* mgr )
|
||||||
{
|
{
|
||||||
if ( dynamic_cast<SVTK_ViewManager*>( mgr ) )
|
if ( dynamic_cast<SVTK_ViewManager*>( mgr ) )
|
||||||
SMESH::UpdateSelectionProp( this );
|
SMESH::UpdateSelectionProp( this );
|
||||||
|
@ -110,7 +110,7 @@ public slots:
|
|||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void OnGUIEvent();
|
void OnGUIEvent();
|
||||||
void onViewManagerAdded( SUIT_ViewManager* );
|
void onViewManagerActivated( SUIT_ViewManager* );
|
||||||
void onOperationCommited( SUIT_Operation* );
|
void onOperationCommited( SUIT_Operation* );
|
||||||
void onOperationAborted( SUIT_Operation* );
|
void onOperationAborted( SUIT_Operation* );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user