From 8e26c31d5f0060ccabf7c32d69f53a7368757aea Mon Sep 17 00:00:00 2001 From: asl Date: Wed, 12 Oct 2005 12:18:43 +0000 Subject: [PATCH] PAL9881 - preferences are not taken into account in SMESH --- src/SMESHGUI/SMESHGUI.cxx | 6 +++--- src/SMESHGUI/SMESHGUI.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 1a79cb096..e53d67a79 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -2782,8 +2782,8 @@ void SMESHGUI::initialize( CAM_Application* app ) 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 ) @@ -2851,7 +2851,7 @@ void SMESHGUI::viewManagers( QStringList& list ) const list.append( SVTK_Viewer::Type() ); } -void SMESHGUI::onViewManagerAdded( SUIT_ViewManager* mgr ) +void SMESHGUI::onViewManagerActivated( SUIT_ViewManager* mgr ) { if ( dynamic_cast( mgr ) ) SMESH::UpdateSelectionProp( this ); diff --git a/src/SMESHGUI/SMESHGUI.h b/src/SMESHGUI/SMESHGUI.h index 821fffa02..4efe43dfa 100644 --- a/src/SMESHGUI/SMESHGUI.h +++ b/src/SMESHGUI/SMESHGUI.h @@ -110,7 +110,7 @@ public slots: private slots: void OnGUIEvent(); - void onViewManagerAdded( SUIT_ViewManager* ); + void onViewManagerActivated( SUIT_ViewManager* ); void onOperationCommited( SUIT_Operation* ); void onOperationAborted( SUIT_Operation* ); -- 2.39.2