Salome HOME
PAL9881 - preferences are not taken into account in SMESH
authorasl <asl@opencascade.com>
Wed, 12 Oct 2005 12:18:43 +0000 (12:18 +0000)
committerasl <asl@opencascade.com>
Wed, 12 Oct 2005 12:18:43 +0000 (12:18 +0000)
src/SMESHGUI/SMESHGUI.cxx
src/SMESHGUI/SMESHGUI.h

index 1a79cb09654d1a92e503870ba2cab2b05cab022d..e53d67a7974a339d83043b31df990702dec90476 100644 (file)
@@ -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* ) ),
-          this, SLOT( onViewManagerAdded( SUIT_ViewManager* ) ) );
+  connect( application(), SIGNAL( viewManagerActivated( 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 ) )
     SMESH::UpdateSelectionProp( this );
 {
   if ( dynamic_cast<SVTK_ViewManager*>( mgr ) )
     SMESH::UpdateSelectionProp( this );
index 821fffa027298bdb61eb8d3ba737933a3f5021c8..4efe43dfa26df22bbdf100a6386eaea410c571b0 100644 (file)
@@ -110,7 +110,7 @@ public slots:
 
 private slots:
   void                        OnGUIEvent();
 
 private slots:
   void                        OnGUIEvent();
-  void                        onViewManagerAdded( SUIT_ViewManager* );
+  void                        onViewManagerActivated( SUIT_ViewManager* );
   void                        onOperationCommited( SUIT_Operation* );
   void                        onOperationAborted( SUIT_Operation* );
 
   void                        onOperationCommited( SUIT_Operation* );
   void                        onOperationAborted( SUIT_Operation* );